FLAG_ACTION_CLEAR equ 0
FLAG_ACTION_SET   equ 1
FLAG_ACTION_CHECK equ 2

FLAG_NOTHING equ 0


// Flags reset on map transition

MAPTEMP_FLAG_BASE equ                                           0x1
NUM_MAPTEMP_FLAGS equ                                            64
FLAG_MAPTEMP_001  equ                                           0x1
FLAG_MAPTEMP_002  equ                                           0x2
FLAG_MAPTEMP_003  equ                                           0x3
FLAG_MAPTEMP_004  equ                                           0x4
FLAG_MAPTEMP_005  equ                                           0x5
FLAG_MAPTEMP_006  equ                                           0x6
FLAG_MAPTEMP_007  equ                                           0x7
FLAG_MAPTEMP_008  equ                                           0x8
FLAG_MAPTEMP_009  equ                                           0x9
FLAG_MAPTEMP_00A  equ                                           0xA
FLAG_MAPTEMP_00B  equ                                           0xB
FLAG_MAPTEMP_00C  equ                                           0xC
FLAG_MAPTEMP_00D  equ                                           0xD
FLAG_MAPTEMP_00E  equ                                           0xE
FLAG_MAPTEMP_00F  equ                                           0xF
FLAG_MAPTEMP_010  equ                                          0x10
FLAG_MAPTEMP_011  equ                                          0x11
FLAG_MAPTEMP_012  equ                                          0x12
FLAG_MAPTEMP_013  equ                                          0x13
FLAG_MAPTEMP_014  equ                                          0x14
FLAG_MAPTEMP_015  equ                                          0x15
FLAG_MAPTEMP_016  equ                                          0x16
FLAG_MAPTEMP_017  equ                                          0x17
FLAG_MAPTEMP_018  equ                                          0x18
FLAG_MAPTEMP_019  equ                                          0x19
FLAG_MAPTEMP_01A  equ                                          0x1A
FLAG_MAPTEMP_01B  equ                                          0x1B
FLAG_MAPTEMP_01C  equ                                          0x1C
FLAG_MAPTEMP_01D  equ                                          0x1D
FLAG_MAPTEMP_01E  equ                                          0x1E
FLAG_MAPTEMP_01F  equ                                          0x1F
FLAG_MAPTEMP_020  equ                                          0x20
FLAG_MAPTEMP_021  equ                                          0x21
FLAG_MAPTEMP_022  equ                                          0x22
FLAG_MAPTEMP_023  equ                                          0x23
FLAG_MAPTEMP_024  equ                                          0x24
FLAG_MAPTEMP_025  equ                                          0x25
FLAG_MAPTEMP_026  equ                                          0x26
FLAG_MAPTEMP_027  equ                                          0x27
FLAG_MAPTEMP_028  equ                                          0x28
FLAG_MAPTEMP_029  equ                                          0x29
FLAG_MAPTEMP_02A  equ                                          0x2A
FLAG_MAPTEMP_02B  equ                                          0x2B
FLAG_MAPTEMP_02C  equ                                          0x2C
FLAG_MAPTEMP_02D  equ                                          0x2D
FLAG_MAPTEMP_02E  equ                                          0x2E
FLAG_MAPTEMP_02F  equ                                          0x2F
FLAG_MAPTEMP_030  equ                                          0x30
FLAG_MAPTEMP_031  equ                                          0x31
FLAG_MAPTEMP_032  equ                                          0x32
FLAG_MAPTEMP_033  equ                                          0x33
FLAG_MAPTEMP_034  equ                                          0x34
FLAG_MAPTEMP_035  equ                                          0x35
FLAG_MAPTEMP_036  equ                                          0x36
FLAG_MAPTEMP_037  equ                                          0x37
FLAG_MAPTEMP_038  equ                                          0x38
FLAG_MAPTEMP_039  equ                                          0x39
FLAG_MAPTEMP_03A  equ                                          0x3A
FLAG_MAPTEMP_03B  equ                                          0x3B
FLAG_MAPTEMP_03C  equ                                          0x3C
FLAG_MAPTEMP_03D  equ                                          0x3D
FLAG_MAPTEMP_03E  equ                                          0x3E
FLAG_MAPTEMP_03F  equ                                          0x3F
FLAG_UNK_040      equ                                          0x40
FLAG_UNK_041      equ                                          0x41
FLAG_UNK_042      equ                                          0x42
FLAG_UNK_043      equ                                          0x43
FLAG_UNK_044      equ                                          0x44
FLAG_UNK_045      equ                                          0x45
FLAG_UNK_046      equ                                          0x46
FLAG_UNK_047      equ                                          0x47
FLAG_UNK_048      equ                                          0x48
FLAG_UNK_049      equ                                          0x49
FLAG_UNK_04A      equ                                          0x4A
FLAG_UNK_04B      equ                                          0x4B
FLAG_UNK_04C      equ                                          0x4C
FLAG_UNK_04D      equ                                          0x4D
FLAG_UNK_04E      equ                                          0x4E
FLAG_UNK_04F      equ                                          0x4F
FLAG_UNK_050      equ                                          0x50
FLAG_UNK_051      equ                                          0x51
FLAG_UNK_052      equ                                          0x52
FLAG_UNK_053      equ                                          0x53
FLAG_UNK_054      equ                                          0x54
FLAG_UNK_055      equ                                          0x55
FLAG_UNK_056      equ                                          0x56
FLAG_UNK_057      equ                                          0x57
FLAG_UNK_058      equ                                          0x58
FLAG_UNK_059      equ                                          0x59
FLAG_UNK_05A      equ                                          0x5A
FLAG_UNK_05B      equ                                          0x5B
FLAG_UNK_05C      equ                                          0x5C
FLAG_UNK_05D      equ                                          0x5D
FLAG_UNK_05E      equ                                          0x5E
FLAG_UNK_05F      equ                                          0x5F
FLAG_UNK_060      equ                                          0x60
FLAG_UNK_061      equ                                          0x61
FLAG_UNK_062      equ                                          0x62
FLAG_UNK_063      equ                                          0x63

// Story Flags

FLAG_NURSE_NOTICED_TRAINER_CARD                            equ 100
FLAG_UNK_065                                               equ 101
FLAG_UNK_066                                               equ 102
FLAG_UNK_067                                               equ 103
FLAG_UNK_068                                               equ 104
FLAG_UNK_069                                               equ 105
FLAG_GOT_STARTER                                           equ 106
FLAG_GOT_POKEDEX                                           equ 107
FLAG_EXCHANGED_RED_SCALE                                   equ 108
FLAG_GOT_APRICORN_BOX                                      equ 109
FLAG_GOT_TM05_FROM_ROUTE_32_MAN                            equ 110
FLAG_UNK_06F                                               equ 111
FLAG_UNK_070                                               equ 112
FLAG_TRADE_VIOLET_CITY_BELLSPROUT_ONIX                     equ 113
FLAG_UNK_072                                               equ 114
FLAG_GOT_TM51_FROM_FALKNER                                 equ 115
FLAG_UNK_074                                               equ 116
FLAG_GOT_OLD_ROD                                           equ 117
FLAG_UNK_076                                               equ 118
FLAG_UNK_077                                               equ 119
FLAG_UNK_078                                               equ 120
FLAG_UNK_079                                               equ 121
FLAG_GOT_KINGS_ROCK_FROM_SLOWPOKE_WELL_MAN                 equ 122
FLAG_BEAT_AZALEA_ROCKETS                                   equ 123
FLAG_UNK_07C                                               equ 124
FLAG_FOUND_FIRST_FARFETCHD                                 equ 125
FLAG_FOUND_SECOND_FARFETCHD                                equ 126
FLAG_GOT_TM89_FROM_BUGSY                                   equ 127
FLAG_GOT_HM01                                              equ 128
FLAG_GOT_CHARCOAL_FROM_AZALEA_TOWN_MAN                     equ 129
FLAG_UNK_082                                               equ 130
FLAG_GOT_TM12_FROM_ILEX_FOREST_GATE_WOMAN                  equ 131
FLAG_UNK_084                                               equ 132
FLAG_GOT_TM45_FROM_WHITNEY                                 equ 133
FLAG_UNK_086                                               equ 134
FLAG_UNK_087                                               equ 135
FLAG_UNK_088                                               equ 136
FLAG_UNK_089                                               equ 137
FLAG_GOT_RADIO_CARD                                        equ 138
FLAG_UNK_08B                                               equ 139
FLAG_UNK_08C                                               equ 140
FLAG_TRADE_GOLDENROD_CITY_DROWZEE_MACHOP                   equ 141
FLAG_UNK_08E                                               equ 142
FLAG_GOT_TM11_FROM_RADIO_TOWER_WOMAN                       equ 143
FLAG_UNK_090                                               equ 144
FLAG_GOT_BRIGHTPOWDER_FROM_MARY                            equ 145
FLAG_UNK_092                                               equ 146
FLAG_UNK_093                                               equ 147
FLAG_UNK_094                                               equ 148
FLAG_GOT_EEVEE_FROM_BILL                                   equ 149
FLAG_UNK_096                                               equ 150
FLAG_UNK_097                                               equ 151
FLAG_UNK_098                                               equ 152
FLAG_MET_PASSERBY_BOY                                      equ 153
FLAG_UNK_09A                                               equ 154
FLAG_UNK_09B                                               equ 155
FLAG_GOT_POKEGEAR                                          equ 156
FLAG_UNK_09D                                               equ 157
FLAG_UNK_09E                                               equ 158
FLAG_UNK_09F                                               equ 159
FLAG_UNK_0A0                                               equ 160
FLAG_UNK_0A1                                               equ 161
FLAG_GOT_HM03                                              equ 162
FLAG_GOT_DOWSING_MACHINE                                   equ 163
FLAG_ENGAGING_STATIC_POKEMON                               equ 164
FLAG_GOT_MAGNET_FROM_SUNNY                                 equ 165
FLAG_GOT_TM30_FROM_MORTY                                   equ 166
FLAG_TALKED_TO_MOM_AFTER_NAMING_RIVAL                      equ 167
FLAG_UNK_0A8                                               equ 168
FLAG_UNK_0A9                                               equ 169
FLAG_UNK_0AA                                               equ 170
FLAG_GOT_TM83_FROM_MOOMOO_FARM_WOMAN                       equ 171
FLAG_UNK_0AC                                               equ 172
FLAG_UNK_0AD                                               equ 173
FLAG_UNK_0AE                                               equ 174
FLAG_UNK_0AF                                               equ 175
FLAG_UNK_0B0                                               equ 176
FLAG_GOT_HARD_STONE_FROM_ARTHUR                            equ 177
FLAG_UNK_0B2                                               equ 178
FLAG_UNK_0B3                                               equ 179
FLAG_UNK_0B4                                               equ 180
FLAG_UNK_0B5                                               equ 181
FLAG_UNK_0B6                                               equ 182
FLAG_UNK_0B7                                               equ 183
FLAG_UNK_0B8                                               equ 184
FLAG_GOT_SECRETPOTION                                      equ 185
FLAG_GOT_TM01_FROM_CHUCK                                   equ 186
FLAG_GOT_HM02                                              equ 187
FLAG_UNK_0BC                                               equ 188
FLAG_GOT_GOOD_ROD                                          equ 189
FLAG_TRADE_OLIVINE_CITY_KRABBY_VOLTORB                     equ 190
FLAG_GOT_LOAN_SHUCKLE                                      equ 191
FLAG_UNK_0C0                                               equ 192
FLAG_RETURNED_OR_INHERITED_LOAN_SHUCKLE                    equ 193
FLAG_GOT_TM23_FROM_JASMINE                                 equ 194
FLAG_UNK_0C3                                               equ 195
FLAG_UNK_0C4                                               equ 196
FLAG_UNK_0C5                                               equ 197
FLAG_BEAT_RADIO_TOWER_ROCKETS                              equ 198
FLAG_GOT_TM10_FROM_LAKE_OF_RAGE_MAN                        equ 199
FLAG_UNK_0C8                                               equ 200
FLAG_GOT_RED_SCALE                                         equ 201
FLAG_RED_GYARADOS_MEET                                     equ 202
FLAG_REMOVED_ROCKET_HIDEOUT_B3F_ELECTRODE_1                equ 203
FLAG_REMOVED_ROCKET_HIDEOUT_B3F_ELECTRODE_2                equ 204
FLAG_REMOVED_ROCKET_HIDEOUT_B3F_ELECTRODE_3                equ 205
FLAG_GOT_TM36_FROM_ROUTE_43_GUARD                          equ 206
FLAG_UNK_0CF                                               equ 207
FLAG_TRADE_BLACKTHORN_CITY_DRAGONAIR_DODRIO                equ 208
FLAG_UNK_0D1                                               equ 209
FLAG_GOT_TM07_FROM_PRYCE                                   equ 210
FLAG_UNK_0D3                                               equ 211
FLAG_GOT_SOFT_SAND_FROM_SANTOS                             equ 212
FLAG_GOT_BLACK_BELT_FROM_WESLEY                            equ 213
FLAG_UNK_0D6                                               equ 214
FLAG_GOT_SHARP_BEAK_FROM_MONICA                            equ 215
FLAG_GOT_TWISTEDSPOON_FROM_TUSCANY                         equ 216
FLAG_GOT_POISON_BARB_FROM_FRIEDA                           equ 217
FLAG_GOT_TM59_FROM_CLAIR                                   equ 218
FLAG_FAILED_DRAGONS_DEN_QUIZ                               equ 219
FLAG_GOT_DRATINI_FROM_MASTER_JUST_NOW                      equ 220
FLAG_GOT_DRATINI_FROM_MASTER_LONG_AGO                      equ 221
FLAG_UNK_0DE                                               equ 222
FLAG_GOT_BLACKGLASSES_FROM_DARK_CAVE_MAN                   equ 223
FLAG_UNK_0E0                                               equ 224
FLAG_UNK_0E1                                               equ 225
FLAG_UNK_0E2                                               equ 226
FLAG_UNK_0E3                                               equ 227
FLAG_DEFEATED_WILL                                         equ 228
FLAG_DEFEATED_KOGA                                         equ 229
FLAG_DEFEATED_BRUNO                                        equ 230
FLAG_DEFEATED_KAREN                                        equ 231
FLAG_UNK_0E8                                               equ 232
FLAG_GOT_TM37_FROM_ROUTE_27_WOMAN                          equ 233
FLAG_UNK_0EA                                               equ 234
FLAG_BOAT_ARRIVED                                          equ 235
FLAG_UNK_0EC                                               equ 236
FLAG_UNK_0ED                                               equ 237
FLAG_GOT_ELMS_PANIC_CALL                                   equ 238
FLAG_UNK_0EF                                               equ 239
FLAG_UNK_0F0                                               equ 240
FLAG_UNK_0F1                                               equ 241
FLAG_UNK_0F2                                               equ 242
FLAG_GOT_MYSTIC_WATER_FROM_CHERRYGROVE_CITY_MAN            equ 243
FLAG_UNK_0F4                                               equ 244
FLAG_UNK_0F5                                               equ 245
FLAG_UNK_0F6                                               equ 246
FLAG_GOT_PP_MAX_FROM_VERMILLION_CITY_MAN                   equ 247
FLAG_GOT_RARE_CANDY_FROM_FAN_CLUB_CHAIRMAN                 equ 248
FLAG_SNORLAX_MEET                                          equ 249
FLAG_UNK_0FA                                               equ 250
FLAG_UNK_0FB                                               equ 251
FLAG_UNK_0FC                                               equ 252
FLAG_GOT_ALL_FOUR_FRONTIER_PRINTS                          equ 253
FLAG_MET_HALL_STREAK_TRACKER_DUDE                          equ 254
FLAG_GOT_SCRATCH_CARD_INFO                                 equ 255
FLAG_UNK_100                                               equ 256
FLAG_UNK_101                                               equ 257
FLAG_UNK_102                                               equ 258
FLAG_UNK_103                                               equ 259
FLAG_UNK_104                                               equ 260
FLAG_UNK_105                                               equ 261
FLAG_UNK_106                                               equ 262
FLAG_UNK_107                                               equ 263
FLAG_UNK_108                                               equ 264
FLAG_UNK_109                                               equ 265
FLAG_UNK_10A                                               equ 266
FLAG_UNK_10B                                               equ 267
FLAG_GOT_TYROGUE_FROM_KARATE_KING                          equ 268
FLAG_BEAT_KARATE_KING                                      equ 269
FLAG_GOT_QUICK_CLAW_FROM_NATIONAL_PARK_WOMAN               equ 270
FLAG_UNK_10F                                               equ 271
FLAG_GOT_UNOWN_REPORT                                      equ 272
FLAG_UNK_111                                               equ 273
FLAG_UNK_112                                               equ 274
FLAG_UNK_113                                               equ 275
FLAG_UNK_114                                               equ 276
FLAG_UNK_115                                               equ 277
FLAG_CAUGHT_HO_OH                                          equ 278
FLAG_CAUGHT_LUGIA                                          equ 279
FLAG_RESTORED_POWER                                        equ 280
FLAG_UNK_119                                               equ 281
FLAG_GOT_EVERSTONE_FROM_ELM                                equ 282
FLAG_GOT_BAG                                               equ 283
FLAG_GOT_TRAINER_CARD                                      equ 284
FLAG_GOT_SAVE_BUTTON                                       equ 285
FLAG_GOT_OPTIONS_BUTTON                                    equ 286
FLAG_GOT_EXPN_CARD                                         equ 287
FLAG_GOT_POWER_PLANT_MANAGERS_STORY                        equ 288
FLAG_TRADE_POWER_PLANT_DUGTRIO_MAGNETON                    equ 289
FLAG_GOT_NUGGET_FROM_ACE_TRAINER_M_KEVIN                   equ 290
FLAG_UNK_123                                               equ 291
FLAG_GOT_TM19_FROM_ERIKA                                   equ 292
FLAG_UNK_125                                               equ 293
FLAG_UNK_126                                               equ 294
FLAG_UNK_127                                               equ 295
FLAG_UNK_128                                               equ 296
FLAG_UNK_129                                               equ 297
FLAG_UNK_12A                                               equ 298
FLAG_UNLOCKED_MT_SILVER                                    equ 299
FLAG_UNLOCKED_WEST_KANTO                                   equ 300
FLAG_GOT_TM84_FROM_JANINE                                  equ 301
FLAG_GOT_TM85_FROM_VIRIDIAN_CITY_MAN                       equ 302
FLAG_GOT_TM29_FROM_MR_PSYCHIC                              equ 303
FLAG_GOT_UPGRADE_FROM_SAFFRON_CITY_GUARD                   equ 304
FLAG_GOT_CLEANSE_TAG_FROM_ROUTE_5_GRANDMA                  equ 305
FLAG_UNK_132                                               equ 306
FLAG_TRADE_PEWTER_CITY_HAUNTER_XATU                        equ 307
FLAG_GOT_NUGGET_FROM_ROUTE_2_MAN                           equ 308
FLAG_GOT_SACRED_ASH_FROM_ROUTE_2_LAB_AIDE                  equ 309
FLAG_UNK_136                                               equ 310
FLAG_GOT_TM47_FROM_ROUTE_28_CELEBRITY                      equ 311
FLAG_UNK_138                                               equ 312
FLAG_UNK_139                                               equ 313
FLAG_UNK_13A                                               equ 314
FLAG_UNK_13B                                               equ 315
FLAG_UNK_13C                                               equ 316
FLAG_UNK_13D                                               equ 317
FLAG_UNK_13E                                               equ 318
FLAG_UNK_13F                                               equ 319
FLAG_UNK_140                                               equ 320
FLAG_WON_THIS_BUG_CONTEST                                  equ 321
FLAG_UNK_142                                               equ 322
FLAG_UNK_143                                               equ 323
FLAG_UNK_144                                               equ 324
FLAG_UNK_145                                               equ 325
FLAG_UNK_146                                               equ 326
FLAG_UNK_147                                               equ 327
FLAG_UNK_148                                               equ 328
FLAG_UNK_149                                               equ 329
FLAG_CAUGHT_ZAPDOS                                         equ 330
FLAG_UNK_14B                                               equ 331
FLAG_UNK_14C                                               equ 332
FLAG_UNK_14D                                               equ 333
FLAG_UNK_14E                                               equ 334
FLAG_GOT_JUDGE_EXPLANATION                                 equ 335
FLAG_UNK_150                                               equ 336
FLAG_MET_ROUTE_47_EMBEDDED_TOWER_HIKER                     equ 337
FLAG_UNK_152                                               equ 338
FLAG_UNK_153                                               equ 339
FLAG_UNK_154                                               equ 340
FLAG_UNK_155                                               equ 341
FLAG_UNK_156                                               equ 342
FLAG_UNK_157                                               equ 343
FLAG_GOT_SPELL_TAG_FROM_CELADON_CITY_MAN                   equ 344
FLAG_GOT_MAREEP_EGG_FROM_PRIMO                             equ 345
FLAG_GOT_WOOPER_EGG_FROM_PRIMO                             equ 346
FLAG_GOT_SLUGMA_EGG_FROM_PRIMO                             equ 347
FLAG_GOT_LUCKY_PUNCH_FROM_ROUTE_14_WOMAN                   equ 348
FLAG_UNK_15D                                               equ 349
FLAG_MET_MOVE_MANIAC                                       equ 350
FLAG_BUG_CONTEST_OTHER_POKES_HELD                          equ 351
FLAG_ELMS_LAB_PREVENT_PLAYER_ESCAPE                        equ 352
FLAG_UNK_161                                               equ 353
FLAG_TRADE_LT_SURGE_PIKACHU                                equ 354
FLAG_GOT_RAGECANDYBAR                                      equ 355
FLAG_UNK_164                                               equ 356
FLAG_TRADE_BROCK_BONSLY_RHYHORN                            equ 357
FLAG_TRADE_JASMINE_STEELIX                                 equ 358
FLAG_TRADE_STEVEN_FORRETRESS_BELDUM                        equ 359
FLAG_UNK_168                                               equ 360
FLAG_CAUGHT_SUDOWOODO                                      equ 361
FLAG_CAUGHT_RED_GYARADOS                                   equ 362
FLAG_CAUGHT_MEWTWO                                         equ 363
FLAG_CAUGHT_ARTICUNO                                       equ 364
FLAG_CAUGHT_MOLTRES                                        equ 365
FLAG_UNK_16E                                               equ 366
FLAG_SPECIAL_MART_PHARMACY                                 equ 367
FLAG_SPECIAL_MART_BITTER                                   equ 368
FLAG_SPECIAL_MART_MAHOGANY_GOOD                            equ 369
FLAG_UNK_172                                               equ 370
FLAG_CAUGHT_SNORLAX                                        equ 371
FLAG_GOT_LURE_BALL_FROM_ROUTE_32_KURT_FAN                  equ 372
FLAG_CAUGHT_SUICUNE                                        equ 373
FLAG_UNK_176                                               equ 374
FLAG_GOT_HOENN_STARTER_FROM_STEVEN                         equ 375
FLAG_UNK_178                                               equ 376
FLAG_CAUGHT_GROUDON                                        equ 377
FLAG_CAUGHT_KYOGRE                                         equ 378
FLAG_CAUGHT_RAYQUAZA                                       equ 379
FLAG_UNK_17C                                               equ 380
FLAG_GOT_TM50_FROM_BLAINE                                  equ 381
FLAG_GOT_TM92_FROM_BLUE                                    equ 382
FLAG_GOT_TM80_FROM_BROCK                                   equ 383
FLAG_GOT_TM03_FROM_MISTY                                   equ 384
FLAG_GOT_TM34_FROM_LT_SURGE                                equ 385
FLAG_GOT_TM48_FROM_SABRINA                                 equ 386
FLAG_UNK_183                                               equ 387
FLAG_UNK_184                                               equ 388
FLAG_GOT_HM08                                              equ 389
FLAG_UNK_186                                               equ 390
FLAG_UNK_187                                               equ 391
FLAG_UNK_188                                               equ 392
FLAG_UNK_189                                               equ 393
FLAG_SPECIAL_MART_MT_MOON                                  equ 394
FLAG_BEAT_OR_ESCAPED_FROM_GROUDON_OR_KYOGRE                equ 395
FLAG_UNK_18C                                               equ 396
FLAG_UNK_18D                                               equ 397
FLAG_UNK_18E                                               equ 398
FLAG_UNK_18F                                               equ 399


// Hide/show flags

FLAG_HIDE_NEW_BARK_RIVAL                                  equ 400
FLAG_HIDE_ELMS_LAB_ELM                                    equ 401
FLAG_UNK_192                                              equ 402
FLAG_HIDE_WIFI_CLUB_CLOSED_LADY                           equ 403
FLAG_HIDE_CHERRYGROVE_MART_SPECIAL_CLERK                  equ 404
FLAG_HIDE_MR_POKEMONS_HOUSE_OAK                           equ 405
FLAG_HIDE_ROUTE_30_BATTLERS                               equ 406
FLAG_HIDE_VIOLET_SHOP_LAB_AIDE                            equ 407
FLAG_HIDE_CHERRYGROVE_GUIDE_GENT                          equ 408
FLAG_HIDE_ROUTE_30_YOUNGSTER_JOEY                         equ 409
FLAG_UNK_19A                                              equ 410
FLAG_HIDE_EARL_IN_SCHOOL                                  equ 411
FLAG_HIDE_CHERRYGROVE_RIVAL                               equ 412
FLAG_HIDE_ELMS_LAB_OFFICER                                equ 413
FLAG_UNK_19E                                              equ 414
FLAG_UNK_19F                                              equ 415
FLAG_UNK_1A0                                              equ 416
FLAG_HIDE_NEW_BARK_MARILL                                 equ 417
FLAG_HIDE_NEW_BARK_FRIEND                                 equ 418
FLAG_UNK_1A3                                              equ 419
FLAG_HIDE_ROUTE_29_FRIEND                                 equ 420
FLAG_HIDE_ROUTE_29_MARILL                                 equ 421
FLAG_HIDE_ELMS_LAB_FRIEND                                 equ 422
FLAG_HIDE_FARFETCHD_1_LOST                                equ 423
FLAG_HIDE_FARFETCHD_2_LOST                                equ 424
FLAG_UNK_1A9                                              equ 425
FLAG_UNK_1AA                                              equ 426
FLAG_HIDE_AZALEA_SLOWPOKES                                equ 427
FLAG_UNK_1AC                                              equ 428
FLAG_HIDE_ILEX_APPRENTICE                                 equ 429
FLAG_UNK_1AE                                              equ 430
FLAG_HIDE_ILEX_CUT_MASTER                                 equ 431
FLAG_UNK_1B0                                              equ 432
FLAG_UNK_1B1                                              equ 433
FLAG_UNK_1B2                                              equ 434
FLAG_UNK_1B3                                              equ 435
FLAG_UNK_1B4                                              equ 436
FLAG_UNK_1B5                                              equ 437
FLAG_UNK_1B6                                              equ 438
FLAG_HIDE_ROCKET_TAKEOVER_1                               equ 439
FLAG_HIDE_ROCKET_TAKEOVER_2                               equ 440
FLAG_HIDE_ROCKET_TAKEOVER_3                               equ 441
FLAG_HIDE_ROCKET_TAKEOVER_4                               equ 442
FLAG_HIDE_ROCKET_TAKEOVER_5                               equ 443
FLAG_HIDE_ROCKET_TAKEOVER_6                               equ 444
FLAG_HIDE_RADIO_TOWER_RIVAL                               equ 445
FLAG_HIDE_GOLDENROD_DEPT_STORE_5F_RETURN_FRUSTRATION_LADY equ 446
FLAG_UNK_1BF                                              equ 447
FLAG_UNK_1C0                                              equ 448
FLAG_UNK_1C1                                              equ 449
FLAG_HIDE_ROUTE_36_SUDOWOODO                              equ 450
FLAG_UNK_1C3                                              equ 451
FLAG_UNK_1C4                                              equ 452
FLAG_UNK_1C5                                              equ 453
FLAG_HIDE_BURNED_TOWER_1F_RIVAL                           equ 454
FLAG_HIDE_BURNED_TOWER_1F_EUSINE                          equ 455
FLAG_HIDE_BURNED_TOWER_B1F_EUSINE                         equ 456
FLAG_HIDE_BURNED_TOWER_B1F_RAIKOU                         equ 457
FLAG_HIDE_BURNED_TOWER_B1F_ENTEI                          equ 458
FLAG_HIDE_BURNED_TOWER_B1F_SUICUNE                        equ 459
FLAG_HIDE_BURNED_TOWER_1F_MORTY                           equ 460
FLAG_UNK_1CD                                              equ 461
FLAG_UNK_1CE                                              equ 462
FLAG_UNK_1CF                                              equ 463
FLAG_HIDE_GOLDENROD_FLOWERSHOP_GIRL                       equ 464
FLAG_UNK_1D1                                              equ 465
FLAG_UNK_1D2                                              equ 466
FLAG_HIDE_FARFETCHD_1_FOUND                               equ 467
FLAG_HIDE_FARFETCHD_2_FOUND                               equ 468
FLAG_UNK_1D5                                              equ 469
FLAG_HIDE_OLIVINE_RIVAL                                   equ 470
FLAG_UNK_1D7                                              equ 471
FLAG_UNK_1D8                                              equ 472
FLAG_HIDE_JASMINE_IN_GYM                                  equ 473
FLAG_UNK_1DA                                              equ 474
FLAG_UNK_1DB                                              equ 475
FLAG_HIDE_OLIVINE_GYM_GENTLEMAN                           equ 476
FLAG_HIDE_OLIVINE_GYM_GIRL                                equ 477
FLAG_HIDE_BURNED_TOWER_1F_RAIKOU                          equ 478
FLAG_HIDE_BURNED_TOWER_1F_ENTEI                           equ 479
FLAG_HIDE_BURNED_TOWER_1F_SUICUNE                         equ 480
FLAG_HIDE_CIANWOOD_SUICUNE                                equ 481
FLAG_HIDE_CIANWOOD_EUSINE                                 equ 482
FLAG_HIDE_LAKE_OF_RAGE_RED_GYARADOS                       equ 483
FLAG_HIDE_LAKE_OF_RAGE_LANCE                              equ 484
FLAG_UNK_1E5                                              equ 485
FLAG_HIDE_ROCKET_HIDEOUT_B3F_LANCE                        equ 486
FLAG_HIDE_MAHOGANY_SHOP_SALESWOMAN                        equ 487
FLAG_UNK_1E8                                              equ 488
FLAG_UNK_1E9                                              equ 489
FLAG_HIDE_ICE_PATH_BOULDER_1_INIT                         equ 490
FLAG_HIDE_ICE_PATH_BOULDER_2_INIT                         equ 491
FLAG_HIDE_ICE_PATH_BOULDER_3_INIT                         equ 492
FLAG_HIDE_ICE_PATH_BOULDER_4_INIT                         equ 493
FLAG_HIDE_ICE_PATH_BOULDER_1_FALLEN                       equ 494
FLAG_HIDE_ICE_PATH_BOULDER_2_FALLEN                       equ 495
FLAG_HIDE_ICE_PATH_BOULDER_3_FALLEN                       equ 496
FLAG_HIDE_ICE_PATH_BOULDER_4_FALLEN                       equ 497
FLAG_HIDE_MAHOGANY_SHOP_SHADY_SALESMAN                    equ 498
FLAG_HIDE_ROCKET_HIDEOUT_B2F_ARIANA                       equ 499
FLAG_HIDE_ROCKET_HIDEOUT_B3F_PETREL                       equ 500
FLAG_HIDE_ROCKET_HIDEOUT_B3F_ELECTRODE_1_AND_4            equ 501
FLAG_HIDE_ROCKET_HIDEOUT_B3F_ELECTRODE_2_AND_5            equ 502
FLAG_HIDE_ROCKET_HIDEOUT_B3F_ELECTRODE_3_AND_6            equ 503
FLAG_HIDE_MAHOGANY_SHOP_LANCE                             equ 504
FLAG_UNK_1F9                                              equ 505
FLAG_HIDE_ROUTE_43_GATE_ROCKETS                           equ 506
FLAG_HIDE_ROUTE_43_GATE_GUARD                             equ 507
FLAG_UNK_1FC                                              equ 508
FLAG_HIDE_ROCKET_HIDEOUT_B3F_RIVAL                        equ 509
FLAG_UNK_1FE                                              equ 510
FLAG_HIDE_LAKE_OF_RAGE_FISHERMEN                          equ 511
FLAG_HIDE_BLACKTHORN_GYM_GUARD_INFRONT                    equ 512
FLAG_HIDE_BLACKTHORN_GYM_GUARD_ASIDE                      equ 513
FLAG_HIDE_BLACKTHORN_DEN_GUARD_INFRONT                    equ 514
FLAG_HIDE_BLACKTHRON_DEN_GUARD_ASIDE                      equ 515
FLAG_UNK_204                                              equ 516
FLAG_UNK_205                                              equ 517
FLAG_UNK_206                                              equ 518
FLAG_UNK_207                                              equ 519
FLAG_UNK_208                                              equ 520
FLAG_HIDE_VICTORY_ROAD_CLAIR                              equ 521
FLAG_HIDE_VICTORY_ROAD_RIVAL                              equ 522
FLAG_HIDE_WILLS_ROOM_RETREAT                              equ 523
FLAG_HIDE_KOGAS_ROOM_RETREAT                              equ 524
FLAG_HIDE_BRUNOS_ROOM_RETREAT                             equ 525
FLAG_HIDE_KARENS_ROOM_RETREAT                             equ 526
FLAG_HIDE_CHAMPIONS_ROOM_RETREAT                          equ 527
FLAG_UNK_210                                              equ 528
FLAG_HIDE_WILLS_ROOM_EXIT                                 equ 529
FLAG_HIDE_KOGAS_ROOM_EXIT                                 equ 530
FLAG_HIDE_BRUNOS_ROOM_EXIT                                equ 531
FLAG_HIDE_KARENS_ROOM_EXIT                                equ 532
FLAG_UNK_215                                              equ 533
FLAG_UNK_216                                              equ 534
FLAG_UNK_217                                              equ 535
FLAG_UNK_218                                              equ 536
FLAG_UNK_219                                              equ 537
FLAG_UNK_21A                                              equ 538
FLAG_OPENED_ALPH_ESCAPE_ROPE_SECRET_ROOM                  equ 539
FLAG_UNK_21C                                              equ 540
FLAG_OPENED_ALPH_FLASH_SECRET_ROOM                        equ 541
FLAG_UNK_21E                                              equ 542
FLAG_OPENED_ALPH_WATER_STONE_SECRET_ROOM                  equ 543
FLAG_UNK_220                                              equ 544
FLAG_OPENED_ALPH_HO_OH_SECRET_ROOM                        equ 545
FLAG_UNK_222                                              equ 546
FLAG_HIDE_PARK_SOUTH_GATE_POKEATHLON_ENTHUSIASTS_UNLOCKED equ 547
FLAG_HIDE_PARK_SOUTH_GATE_POKEATHLON_ENTHUSIASTS_LOCKED   equ 548
FLAG_UNK_225                                              equ 549
FLAG_UNK_226                                              equ 550
FLAG_HIDE_POKEATHLON_RECEPTION_WHITNEY                    equ 551
FLAG_UNK_228                                              equ 552
FLAG_UNK_229                                              equ 553
FLAG_UNK_22A                                              equ 554
FLAG_UNK_22B                                              equ 555
FLAG_UNK_22C                                              equ 556
FLAG_UNK_22D                                              equ 557
FLAG_UNK_22E                                              equ 558
FLAG_HIDE_BATTLE_TOWER_RECEPTIONIST                       equ 559
FLAG_UNK_230                                              equ 560
FLAG_UNK_231                                              equ 561
FLAG_UNK_232                                              equ 562
FLAG_UNK_233                                              equ 563
FLAG_UNK_234                                              equ 564
FLAG_HIDE_RUINS_OF_ALPH_ASSISTANTS                        equ 565
FLAG_HIDE_RUINS_OF_ALPH_TOURISTS                          equ 566
FLAG_HIDE_UNDERGROUND_KIMONO_GIRL                         equ 567
FLAG_HIDE_VIOLET_KIMONO_GIRL                              equ 568
FLAG_UNK_239                                              equ 569
FLAG_UNK_23A                                              equ 570
FLAG_UNK_23B                                              equ 571
FLAG_HIDE_DANCE_STUDIO_KIMONO_GIRLS                       equ 572
FLAG_UNK_23D                                              equ 573
FLAG_HIDE_GOLDENROD_BILL                                  equ 574
FLAG_HIDE_ECRUTEAK_RIVAL                                  equ 575
FLAG_HIDE_DANCE_STUDIO_LITTLE_GIRL                        equ 576
FLAG_UNK_241                                              equ 577
FLAG_HIDE_BELL_TOWER_HO_OH                                equ 578
FLAG_HIDE_WHIRL_ISLAND_LUGIA                              equ 579
FLAG_HIDE_BELL_TOWER_SUMMIT_KIMONO_GIRLS                  equ 580
FLAG_HIDE_WHIRL_ISLANDS_BOTTOM_KIMONO_GIRLS               equ 581
FLAG_HIDE_ELMS_LAB_AIDE                                   equ 582
FLAG_UNK_247                                              equ 583
FLAG_HIDE_ECRUTEAK_OLD_MAN                                equ 584
FLAG_UNK_249                                              equ 585
FLAG_HIDE_ROCKET_HIDEOUT_B3F_MURKROW_1                    equ 586
FLAG_HIDE_ROCKET_HIDEOUT_B2F_MURKROW_1                    equ 587
FLAG_HIDE_ROCKET_HIDEOUT_B3F_MURKROW_2                    equ 588
FLAG_HIDE_ROCKET_HIDEOUT_B2F_MURKROW_2                    equ 589
FLAG_UNK_24E                                              equ 590
FLAG_HIDE_ROUTE_30_APRICORN_MAN                           equ 591
FLAG_HIDE_INDIGO_PLATEAU_RIVAL                            equ 592
FLAG_HIDE_OLIVINE_PORT_OAK                                equ 593
FLAG_HIDE_ROCKET_HIDEOUT_B2F_MURKROW_3                    equ 594
FLAG_HIDE_CERULEAN_GYM_POPULATION                         equ 595
FLAG_HIDE_CERULEAN_GYM_ROCKET                             equ 596
FLAG_HIDE_ROUTE_24_ROCKET                                 equ 597
FLAG_HIDE_ROUTE_25_MISTY                                  equ 598
FLAG_HIDE_CERULEAN_GYM_MACHINE_PART                       equ 599
FLAG_UNK_258                                              equ 600
FLAG_HIDE_LAVENDER_RADIO_TOWER_DIRECTOR                   equ 601
FLAG_UNK_25A                                              equ 602
FLAG_UNK_25B                                              equ 603
FLAG_UNK_25C                                              equ 604
FLAG_UNK_25D                                              equ 605
FLAG_UNK_25E                                              equ 606
FLAG_UNK_25F                                              equ 607
FLAG_UNK_260                                              equ 608
FLAG_HIDE_ROUTE_11_SNORLAX                                equ 609
FLAG_UNK_262                                              equ 610
FLAG_UNK_263                                              equ 611
FLAG_HIDE_ROUTE_10_LT_SURGE                               equ 612
FLAG_UNK_265                                              equ 613
FLAG_HIDE_FUCHSIA_GYM_LASS_LINDA_REVEALED                 equ 614
FLAG_HIDE_FUCHSIA_GYM_CAMPER_BARRY_REVEALED               equ 615
FLAG_HIDE_FUCHSIA_GYM_LASS_ALICE_REVEALED                 equ 616
FLAG_HIDE_FUCHSIA_GYM_PICNICKER_CINDY_REVEALED            equ 617
FLAG_HIDE_FUCHSIA_GYM_LASS_LINDA_DISGUISED                equ 618
FLAG_HIDE_FUCHSIA_GYM_CAMPER_BARRY_DISGUISED              equ 619
FLAG_HIDE_FUCHSIA_GYM_LASS_ALICE_DISGUISED                equ 620
FLAG_HIDE_FUCHSIA_GYM_PICNICKER_CINDY_DISGUISED           equ 621
FLAG_UNK_26E                                              equ 622
FLAG_UNK_26F                                              equ 623
FLAG_UNK_270                                              equ 624
FLAG_AZALEA_ROCKET_HARASSING_CIVILIAN                     equ 625
FLAG_AZALEA_HARASSED_CIVILIAN                             equ 626
FLAG_HIDE_BUG_CONTESTANT_BUG_CATCHER_DON                  equ 627
FLAG_HIDE_BUG_CONTESTANT_BUG_CATCHER_ED                   equ 628
FLAG_HIDE_BUG_CONTESTANT_ACE_TRAINER_ABBY                 equ 629
FLAG_HIDE_BUG_CONTESTANT_POKEFAN_WILLIAM                  equ 630
FLAG_HIDE_BUG_CONTESTANT_BUG_CATCHER_BENNY                equ 631
FLAG_HIDE_BUG_CONTESTANT_CAMPER_BARRY                     equ 632
FLAG_HIDE_BUG_CONTESTANT_PICNICKER_CINDY                  equ 633
FLAG_HIDE_BUG_CONTESTANT_BUG_CATCHER_JOSH                 equ 634
FLAG_HIDE_BUG_CONTESTANT_YOUNGSTER_SAMUEL                 equ 635
FLAG_HIDE_BUG_CONTESTANT_SCHOOL_KID_KIPP                  equ 636
FLAG_UNK_27D                                              equ 637
FLAG_HIDE_CAMERON                                         equ 638
FLAG_UNK_27F                                              equ 639
FLAG_HIDE_ROCKET_HIDEOUT_B3F_GIOVANNI                     equ 640
FLAG_UNK_281                                              equ 641
FLAG_UNK_282                                              equ 642
FLAG_HIDE_SILPH_ROTOM_HEAT                                equ 643
FLAG_HIDE_SILPH_ROTOM_WASH                                equ 644
FLAG_HIDE_SILPH_ROTOM_FROST                               equ 645
FLAG_HIDE_SILPH_ROTOM_FAN                                 equ 646
FLAG_HIDE_SILPH_ROTOM_MOW                                 equ 647
FLAG_UNK_288                                              equ 648
FLAG_UNK_289                                              equ 649
FLAG_HIDE_LAKE_OF_RAGE_ACE_TRAINER_LOIS                   equ 650
FLAG_UNK_28B                                              equ 651
FLAG_UNK_28C                                              equ 652
FLAG_HIDE_TRAINER_HOUSE_CAL_0                             equ 653
FLAG_HIDE_TRAINER_HOUSE_CAL_1                             equ 654
FLAG_HIDE_TRAINER_HOUSE_CAL_2                             equ 655
FLAG_HIDE_TRAINER_HOUSE_CAL_3                             equ 656
FLAG_HIDE_TRAINER_HOUSE_CAL_4                             equ 657
FLAG_HIDE_TRAINER_HOUSE_CAL_5                             equ 658
FLAG_HIDE_TRAINER_HOUSE_CAL_6                             equ 659
FLAG_HIDE_TRAINER_HOUSE_CAL_7                             equ 660
FLAG_HIDE_TRAINER_HOUSE_CAL_8                             equ 661
FLAG_HIDE_TRAINER_HOUSE_CAL_9                             equ 662
FLAG_HIDE_ROUTE_10_ZAPDOS                                 equ 663
FLAG_UNK_298                                              equ 664
FLAG_HIDE_ROUTE_19_WORKMEN_CLOSED                         equ 665
FLAG_HIDE_ROUTE_19_WORKMEN_OPEN                           equ 666
FLAG_HIDE_ILEX_FOREST_SPIKY_EAR_PICHU                     equ 667
FLAG_HIDE_ILEX_FOREST_OLD_MAN                             equ 668
FLAG_HIDE_ROUTE_42_HIKER                                  equ 669
FLAG_HIDE_ROUTE_42_SUICUNE                                equ 670
FLAG_HIDE_VERMILION_SUICUNE                               equ 671
FLAG_HIDE_ROUTE_14_SUICUNE                                equ 672
FLAG_HIDE_ROUTE_25_SUICUNE                                equ 673
FLAG_HIDE_ROUTE_25_EUSINE                                 equ 674
FLAG_HIDE_ROUTE_42_EUSINE                                 equ 675
FLAG_HIDE_VERMILION_EUSINE                                equ 676
FLAG_HIDE_ROUTE_14_EUSINE                                 equ 677
FLAG_HIDE_NEW_BARK_MOM                                    equ 678
FLAG_HIDE_MYSTERY_GIFT_DELIVERYMAN                        equ 679
FLAG_HIDE_MOM_GIFT_DELIVERYMAN                            equ 680
FLAG_HIDE_PLAYERS_ROOM_BRONZE_TROPHY                      equ 681
FLAG_HIDE_PLAYERS_ROOM_SILVER_TROPHY                      equ 682
FLAG_HIDE_PLAYERS_ROOM_GOLD_TROPHY                        equ 683
FLAG_HIDE_ROUTE_14_EUSINE_2                               equ 684
FLAG_UNK_2AD                                              equ 685
FLAG_UNK_2AE                                              equ 686
FLAG_UNK_2AF                                              equ 687
FLAG_UNK_2B0                                              equ 688
FLAG_UNK_2B1                                              equ 689
FLAG_HIDE_ROUTE_25_EUSINE_2                               equ 690
FLAG_HIDE_POKEATHLON_SUPREME_CUP_RECEPTIONIST             equ 691
FLAG_HIDE_VERMILION_EUSINE_2                              equ 692
FLAG_UNK_2B5                                              equ 693
FLAG_UNK_2B6                                              equ 694
FLAG_UNK_2B7                                              equ 695
FLAG_UNK_2B8                                              equ 696
FLAG_UNK_2B9                                              equ 697
FLAG_UNK_2BA                                              equ 698
FLAG_UNK_2BB                                              equ 699
FLAG_UNK_2BC                                              equ 700
FLAG_UNK_2BD                                              equ 701
FLAG_UNK_2BE                                              equ 702
FLAG_UNK_2BF                                              equ 703
FLAG_UNK_2C0                                              equ 704
FLAG_UNK_2C1                                              equ 705
FLAG_UNK_2C2                                              equ 706
FLAG_UNK_2C3                                              equ 707
FLAG_UNK_2C4                                              equ 708
FLAG_UNK_2C5                                              equ 709
FLAG_HIDE_RADIO_TOWER_5F_OFFICE_DIRECTOR                  equ 710
FLAG_HIDE_RADIO_TOWER_5F_PETREL_REVEALED                  equ 711
FLAG_HIDE_GOLDENROD_UNDERGROUND_FRIEND                    equ 712
FLAG_UNK_2C9                                              equ 713
FLAG_UNK_2CA                                              equ 714
FLAG_UNK_2CB                                              equ 715
FLAG_HIDE_LAKE_OF_RAGE_PRYCE                              equ 716
FLAG_UNK_2CD                                              equ 717
FLAG_HIDE_CLIFFS_EDGE_GATE_CHUCK                          equ 718
FLAG_HIDE_ROUTE_47_EMBEDDED_TOWER_HIKER                   equ 719
FLAG_HIDE_EMBEDDED_TOWER_GROUDON                          equ 720
FLAG_HIDE_EMBEDDED_TOWER_KYOGRE                           equ 721
FLAG_HIDE_EMBEDDED_TOWER_RAYQUAZA                         equ 722
FLAG_HIDE_EMBEDDED_TOWER_GROUDON_HIKER                    equ 723
FLAG_HIDE_EMBEDDED_TOWER_KYOGRE_HIKER                     equ 724
FLAG_HIDE_POKEATHLON_SHOES_SIGN                           equ 725
FLAG_HIDE_POKEATHLON_CLOTHES_SIGN                         equ 726
FLAG_HIDE_POKEATHLON_FLAG_SIGN                            equ 727
FLAG_HIDE_POKEATHLON_POKEGEAR_SIGN                        equ 728
FLAG_HIDE_POKEATHLON_BALL_SIGN                            equ 729
FLAG_UNK_2DA                                              equ 730
FLAG_UNK_2DB                                              equ 731
FLAG_HIDE_SINJOH_MYSTRI_SHRINE_CYNTHIA                    equ 732
FLAG_UNK_2DD                                              equ 733
FLAG_UNK_2DE                                              equ 734
FLAG_HIDE_ROUTE_47_CRASHER_WAKE                           equ 735
FLAG_HIDE_DRAGONS_DEN_RIVAL                               equ 736
FLAG_UNK_2E1                                              equ 737
FLAG_UNK_2E2                                              equ 738
FLAG_HIDE_VIOLET_GYM_GYM_GUY_AFTER_SPROUT                 equ 739
FLAG_HIDE_VIOLET_GYM_GYM_GUY_BEFORE_SPROUT                equ 740
FLAG_HIDE_NEW_BARK_FRIENDS_ROOM_FRIEND                    equ 741
FLAG_HIDE_ALPH_OUTSIDE_ARCEUS_EVENT_SUIT                  equ 742
FLAG_HIDE_ALPH_MAIN_CHAMBER_ARCEUS_EVENT_PEOPLE           equ 743
FLAG_HIDE_NEW_BARK_FRIEND_2                               equ 744
FLAG_UNK_2E9                                              equ 745
FLAG_UNK_2EA                                              equ 746
FLAG_UNK_2EB                                              equ 747
FLAG_UNK_2EC                                              equ 748
FLAG_UNK_2ED                                              equ 749
FLAG_UNK_2EE                                              equ 750
FLAG_UNK_2EF                                              equ 751
FLAG_UNK_2F0                                              equ 752
FLAG_UNK_2F1                                              equ 753
FLAG_UNK_2F2                                              equ 754
FLAG_UNK_2F3                                              equ 755
FLAG_UNK_2F4                                              equ 756
FLAG_UNK_2F5                                              equ 757
FLAG_UNK_2F6                                              equ 758
FLAG_UNK_2F7                                              equ 759
FLAG_HIDE_VIRIDIAN_CITY_OLD_MAN_OUTSIDE_GYM_LOCKED        equ 760
FLAG_HIDE_VIRIDIAN_CITY_OLD_MAN_OUTSIDE_GYM_UNLOCKED      equ 761
FLAG_HIDE_SAFFRON_CITY_STEVEN                             equ 762
FLAG_UNK_2FB                                              equ 763
FLAG_HIDE_VERMILION_FAN_CLUB_LOST_ITEM                    equ 764
FLAG_HIDE_VERMILION_CITY_STEVEN                           equ 765
FLAG_HIDE_OAKS_LAB_BULBASAUR_BALL                         equ 766
FLAG_HIDE_OAKS_LAB_SQUIRTLE_BALL                          equ 767
FLAG_HIDE_OAKS_LAB_CHARMANDER_BALL                        equ 768
FLAG_HIDE_ROUTE_22_GIOVANNI_RIVAL                         equ 769
FLAG_HIDE_ROUTE_22_FRIEND                                 equ 770
FLAG_HIDE_TOHJO_FALLS_GIOVANNI                            equ 771
FLAG_UNK_304                                              equ 772
FLAG_HIDE_CERULEAN_CAVE_MEWTWO                            equ 773
FLAG_HIDE_SEAFOAM_ISLAND_ARTICUNO                         equ 774
FLAG_HIDE_MT_SILVER_CAVE_MOLTRES                          equ 775
FLAG_HIDE_STEVEN_IN_HOUSE_BEFORE_LATIS                    equ 776
FLAG_HIDE_ROUTE_25_MISTYS_BOYFRIEND                       equ 777
FLAG_HIDE_UNION_CAVE_LAPRAS                               equ 778
FLAG_UNK_30B                                              equ 779
FLAG_HIDE_PEWTER_CITY_STEVEN                              equ 780
FLAG_HIDE_PEWTER_CITY_LATIOS                              equ 781
FLAG_HIDE_BURNED_TOWER_STATIC_SUICUNE                     equ 782
FLAG_UNK_30F                                              equ 783
FLAG_HIDE_ILEX_FOREST_FRIEND                              equ 784
FLAG_HIDE_TOHJO_FALLS_FRIEND                              equ 785
FLAG_HIDE_PEWTER_CITY_LATIAS                              equ 786
FLAG_UNK_313                                              equ 787
FLAG_UNK_314                                              equ 788
FLAG_HIDE_COMM_CLUB_RECEPTIONISTS                         equ 789
FLAG_HIDE_COMM_CLUB_CLOSED_LADIES                         equ 790
FLAG_HIDE_STEVEN_IN_HOUSE_AFTER_LATIS                     equ 791
FLAG_UNK_318                                              equ 792
FLAG_HIDE_SAFARI_ZONE_WORKERS                             equ 793
FLAG_UNK_31A                                              equ 794
FLAG_HIDE_ROUTE_12_SNORLAX                                equ 795
FLAG_UNK_31C                                              equ 796
FLAG_UNK_31D                                              equ 797
FLAG_UNK_31E                                              equ 798
FLAG_UNK_31F                                              equ 799


// Hidden items

HIDDEN_ITEMS_FLAG_BASE                                    equ   800
FLAG_HIDDENITEM_T20_POTION                                equ 800
FLAG_HIDDENITEM_R29_R30_T21_NUGGET                        equ 801
FLAG_HIDDENITEM_R30_POTION                                equ 802
FLAG_HIDDENITEM_T22_HYPER_POTION                          equ 803
FLAG_HIDDENITEM_R32_HEART_SCALE                           equ 804
FLAG_HIDDENITEM_R32_GREAT_BALL                            equ 805
FLAG_HIDDENITEM_T23_FULL_HEAL                             equ 806
FLAG_HIDDENITEM_R34_RARE_CANDY                            equ 807
FLAG_HIDDENITEM_R34_SUPER_POTION                          equ 808
FLAG_HIDDENITEM_R34_T25_SUPER_POTION                      equ 809
FLAG_HIDDENITEM_R35_NUGGET                                equ 810
FLAG_HIDDENITEM_R36_AWAKENING                             equ 811
FLAG_HIDDENITEM_T27_HYPER_POTION                          equ 812
FLAG_HIDDENITEM_T27_ETHER                                 equ 813
FLAG_HIDDENITEM_D42R0102_POKE_BALL                        equ 814
FLAG_HIDDENITEM_D42R0102_MAX_ETHER                        equ 815
FLAG_HIDDENITEM_D42R0101_MAX_REVIVE                       equ 816
FLAG_HIDDENITEM_D42R0101_HYPER_POTION                     equ 817
FLAG_HIDDENITEM_D42R0101_ELIXIR                           equ 818
FLAG_HIDDENITEM_D18R0101_ETHER                            equ 819
FLAG_HIDDENITEM_D18R0101_ULTRA_BALL                       equ 820
FLAG_HIDDENITEM_D18R0102_REVIVE                           equ 821
FLAG_HIDDENITEM_R38_HP_UP                                 equ 822
FLAG_HIDDENITEM_T26_RARE_CANDY                            equ 823
FLAG_HIDDENITEM_W40_HYPER_POTION                          equ 824
FLAG_HIDDENITEM_T24_REVIVE                                equ 825
FLAG_HIDDENITEM_T24_STARDUST                              equ 826
FLAG_HIDDENITEM_D26R0101_GREAT_BALL                       equ 827
FLAG_HIDDENITEM_D26R0102_SUPER_POTION                     equ 828
FLAG_HIDDENITEM_D26R0102_FULL_HEAL                        equ 829
FLAG_HIDDENITEM_D36R0101_ANTIDOTE                         equ 830
FLAG_HIDDENITEM_D36R0101_SUPER_POTION                     equ 831
FLAG_HIDDENITEM_D36R0101_FULL_HEAL                        equ 832
FLAG_HIDDENITEM_D36R0101_ETHER                            equ 833
FLAG_HIDDENITEM_D22R0101_D22R0102_FULL_HEAL               equ 834
FLAG_HIDDENITEM_D22R0101_D22R0102_FULL_HEAL_2             equ 835
FLAG_HIDDENITEM_T29_FULL_RESTORE                          equ 836
FLAG_HIDDENITEM_T29_RARE_CANDY                            equ 837
FLAG_HIDDENITEM_W20_DEEPSEATOOTH                          equ 838
FLAG_HIDDENITEM_R47_STARDUST                              equ 839
FLAG_HIDDENITEM_R47_PEARL                                 equ 840
FLAG_HIDDENITEM_D47_TINYMUSHROOM                          equ 841
FLAG_HIDDENITEM_R42_MAX_POTION                            equ 842
FLAG_HIDDENITEM_D38R0101_HYPER_POTION                     equ 843
FLAG_HIDDENITEM_D38R0101_REVIVE                           equ 844
FLAG_HIDDENITEM_D38R0102_MAX_REPEL                        equ 845
FLAG_HIDDENITEM_D38R0102_ETHER                            equ 846
FLAG_HIDDENITEM_D38R0103_FULL_RESTORE                     equ 847
FLAG_HIDDENITEM_D38R0103_HP_UP                            equ 848
FLAG_HIDDENITEM_D38R0104_MAX_REVIVE                       equ 849
FLAG_HIDDENITEM_D38R0104_ULTRA_BALL                       equ 850
FLAG_HIDDENITEM_D35R0102_REVIVE                           equ 851
FLAG_HIDDENITEM_D37R0103_PARLYZ_HEAL                      equ 852
FLAG_HIDDENITEM_D37R0103_SUPER_POTION                     equ 853
FLAG_HIDDENITEM_D35R0103_FULL_HEAL                        equ 854
FLAG_HIDDENITEM_D35R0103_X_SP__DEF                        equ 855
FLAG_HIDDENITEM_D01R0101_MAX_REVIVE                       equ 856
FLAG_HIDDENITEM_R05R0202_FULL_RESTORE                     equ 857
FLAG_HIDDENITEM_R05R0202_X_SPECIAL                        equ 858
FLAG_HIDDENITEM_D05R0101_X_ACCURACY                       equ 859
FLAG_HIDDENITEM_D05R0101_X_DEFENSE                        equ 860
FLAG_HIDDENITEM_D05R0102_MAX_POTION                       equ 861
FLAG_HIDDENITEM_D17R0103_MAX_POTION                       equ 862
FLAG_HIDDENITEM_D17R0105_FULL_RESTORE                     equ 863
FLAG_HIDDENITEM_D17R0108_CARBOS                           equ 864
FLAG_HIDDENITEM_D18R0102_ANTIDOTE                         equ 865
FLAG_HIDDENITEM_D27R0104_HYPER_POTION                     equ 866
FLAG_HIDDENITEM_D37R0103_ANTIDOTE                         equ 867
FLAG_HIDDENITEM_D37R0105_MAX_POTION                       equ 868
FLAG_HIDDENITEM_D37R0105_REVIVE                           equ 869
FLAG_HIDDENITEM_D39R0101_MAX_POTION                       equ 870
FLAG_HIDDENITEM_D39R0103_CARBOS                           equ 871
FLAG_HIDDENITEM_D39R0101_ICE_HEAL                         equ 872
FLAG_HIDDENITEM_D40R0101_RARE_CANDY                       equ 873
FLAG_HIDDENITEM_D40R0102_ULTRA_BALL                       equ 874
FLAG_HIDDENITEM_D40R0104_FULL_RESTORE                     equ 875
FLAG_HIDDENITEM_D41R0101_DIRE_HIT                         equ 876
FLAG_HIDDENITEM_D41R0101_ULTRA_BALL                       equ 877
FLAG_HIDDENITEM_D41R0106_MAX_POTION                       equ 878
FLAG_HIDDENITEM_D43R0101_MAX_POTION                       equ 879
FLAG_HIDDENITEM_D43R0101_FULL_HEAL                        equ 880
FLAG_HIDDENITEM_D44R0102_REVIVE                           equ 881
FLAG_HIDDENITEM_D44R0102_MAX_POTION                       equ 882
FLAG_HIDDENITEM_D44R0102_MAX_ELIXIR                       equ 883
FLAG_HIDDENITEM_P01R0104_IRON                             equ 884
FLAG_HIDDENITEM_D46R0101_MAX_ETHER                        equ 885
FLAG_HIDDENITEM_P01R0102_PROTEIN                          equ 886
FLAG_HIDDENITEM_D46R0101_FULL_RESTORE                     equ 887
FLAG_HIDDENITEM_D11R0101_ESCAPE_ROPE                      equ 888
FLAG_HIDDENITEM_D11R0102_ICE_HEAL                         equ 889
FLAG_HIDDENITEM_D11R0103_PEARL                            equ 890
FLAG_HIDDENITEM_D11R0103_PEARL_2                          equ 891
FLAG_HIDDENITEM_D11R0104_MAX_REVIVE                       equ 892
FLAG_HIDDENITEM_D03R0101_HYPER_POTION                     equ 893
FLAG_HIDDENITEM_D03R0101_RARE_CANDY                       equ 894
FLAG_HIDDENITEM_D03R0101_REVIVE                           equ 895
FLAG_HIDDENITEM_D03R0102_ULTRA_BALL                       equ 896
FLAG_HIDDENITEM_R32_SUPER_POTION                          equ 897
FLAG_HIDDENITEM_R39_NUGGET                                equ 898
FLAG_HIDDENITEM_W41_MAX_ETHER                             equ 899
FLAG_HIDDENITEM_R44_ELIXIR                                equ 900
FLAG_HIDDENITEM_R45_PP_UP                                 equ 901
FLAG_HIDDENITEM_T29_MAX_POTION                            equ 902
FLAG_HIDDENITEM_T06_FULL_HEAL                             equ 903
FLAG_HIDDENITEM_R11_REVIVE                                equ 904
FLAG_HIDDENITEM_R09_ETHER                                 equ 905
FLAG_HIDDENITEM_T04_NUGGET                                equ 906
FLAG_HIDDENITEM_R25_REVIVE                                equ 907
FLAG_HIDDENITEM_T22_POKE_BALL                             equ 908
FLAG_HIDDENITEM_R17_MAX_ETHER                             equ 909
FLAG_HIDDENITEM_R17_MAX_ELIXIR                            equ 910
FLAG_HIDDENITEM_R13_CALCIUM                               equ 911
FLAG_HIDDENITEM_R12_ELIXIR                                equ 912
FLAG_HIDDENITEM_R04_ULTRA_BALL                            equ 913
FLAG_HIDDENITEM_T09_W21_RARE_CANDY                        equ 914
FLAG_HIDDENITEM_R28_RARE_CANDY                            equ 915
FLAG_HIDDENITEM_T31_FULL_RESTORE                          equ 916
FLAG_HIDDENITEM_D03R0102_PP_UP                            equ 917
FLAG_HIDDENITEM_D03R0102_BIG_PEARL                        equ 918
FLAG_HIDDENITEM_D03R0102_ZINC                             equ 919
FLAG_HIDDENITEM_D03R0102_FULL_HEAL                        equ 920
FLAG_HIDDENITEM_D03R0103_MAX_REVIVE                       equ 921
FLAG_HIDDENITEM_T07_PP_UP                                 equ 922
FLAG_HIDDENITEM_D03R0103_ULTRA_BALL                       equ 923
FLAG_HIDDENITEM_D03R0103_NUGGET                           equ 924
FLAG_HIDDENITEM_D17R1101_TINYMUSHROOM                     equ 925
FLAG_HIDDENITEM_D17R1101_BIG_MUSHROOM                     equ 926
FLAG_HIDDENITEM_D17R1101_BIG_MUSHROOM_2                   equ 927
FLAG_HIDDENITEM_D17R1101_TINYMUSHROOM_2                   equ 928
FLAG_HIDDENITEM_D17R1101_TINYMUSHROOM_3                   equ 929
FLAG_HIDDENITEM_D47_TINYMUSHROOM_2                        equ 930
FLAG_HIDDENITEM_D47_TINYMUSHROOM_3                        equ 931
FLAG_HIDDENITEM_T27_RARE_CANDY                            equ 932
FLAG_HIDDENITEM_T27_ULTRA_BALL                            equ 933
FLAG_HIDDENITEM_T08_NUGGET                                equ 934
FLAG_HIDDENITEM_R39_PP_UP                                 equ 935
FLAG_HIDDENITEM_R39_X_ATTACK                              equ 936
FLAG_HIDDENITEM_R39_T26_FULL_HEAL                         equ 937
FLAG_HIDDENITEM_R03_STAR_PIECE                            equ 938
FLAG_HIDDENITEM_R03_HYPER_POTION                          equ 939
FLAG_HIDDENITEM_D38R0102_RARE_CANDY                       equ 940
FLAG_HIDDENITEM_D38R0102_ULTRA_BALL                       equ 941
FLAG_HIDDENITEM_D38R0102_NUGGET                           equ 942
FLAG_HIDDENITEM_D38R0103_HYPER_POTION                     equ 943
FLAG_HIDDENITEM_D38R0103_FULL_HEAL                        equ 944
FLAG_HIDDENITEM_R03_STAR_PIECE_2                          equ 945
FLAG_HIDDENITEM_D24R0101_GREAT_BALL                       equ 946
FLAG_HIDDENITEM_D24R0101_BIG_MUSHROOM                     equ 947
FLAG_HIDDENITEM_D24R0101_TINYMUSHROOM                     equ 948
FLAG_HIDDENITEM_D24R0101_RARE_CANDY                       equ 949
FLAG_HIDDENITEM_D24R0101_NUGGET                           equ 950
FLAG_HIDDENITEM_D25R0101_GREAT_BALL                       equ 951
FLAG_HIDDENITEM_D25R0101_PARLYZ_HEAL                      equ 952
FLAG_HIDDENITEM_D25R0102_X_SPEED                          equ 953
FLAG_HIDDENITEM_D25R0101_BIG_PEARL                        equ 954
FLAG_HIDDENITEM_D25R0102_REVIVE                           equ 955
FLAG_HIDDENITEM_D25R0103_ULTRA_BALL                       equ 956
FLAG_HIDDENITEM_D25R0103_CALCIUM                          equ 957
FLAG_HIDDENITEM_P01R0102_PEARL                            equ 958
FLAG_HIDDENITEM_D49_PP_UP                                 equ 959
FLAG_HIDDENITEM_D49_PROTEIN                               equ 960
FLAG_HIDDENITEM_D32R0102_RARE_CANDY                       equ 961
FLAG_HIDDENITEM_T06_PEARL                                 equ 962
FLAG_HIDDENITEM_T06_PEARL_2                               equ 963
FLAG_HIDDENITEM_T06_BIG_PEARL                             equ 964
FLAG_HIDDENITEM_D41R0102_RARE_CANDY                       equ 965
FLAG_HIDDENITEM_T09_IRON                                  equ 966
FLAG_HIDDENITEM_T09_STAR_PIECE                            equ 967
FLAG_HIDDENITEM_T06_HEART_SCALE                           equ 968
FLAG_HIDDENITEM_D05R0102_HP_UP                            equ 969
FLAG_HIDDENITEM_W41_STARDUST                              equ 970
FLAG_HIDDENITEM_W41_STARDUST_2                            equ 971
FLAG_HIDDENITEM_W41_STARDUST_3                            equ 972
FLAG_HIDDENITEM_W41_STARDUST_4                            equ 973
FLAG_HIDDENITEM_W20_STARDUST                              equ 974
FLAG_HIDDENITEM_W21_STARDUST                              equ 975
FLAG_HIDDENITEM_W21_STARDUST_2                            equ 976
FLAG_HIDDENITEM_W21_STARDUST_3                            equ 977
FLAG_HIDDENITEM_W19_PEARL                                 equ 978
FLAG_HIDDENITEM_W19_PEARL_2                               equ 979
FLAG_HIDDENITEM_W19_BIG_PEARL                             equ 980
FLAG_HIDDENITEM_R27_REVIVE                                equ 981
FLAG_HIDDENITEM_R27_BIG_MUSHROOM                          equ 982
FLAG_HIDDENITEM_R26_R27_NUGGET                            equ 983
FLAG_HIDDENITEM_R26_TINYMUSHROOM                          equ 984
FLAG_HIDDENITEM_D43R0102_MAX_REVIVE                       equ 985
FLAG_HIDDENITEM_D43R0102_PP_UP                            equ 986
FLAG_HIDDENITEM_D43R0103_HYPER_POTION                     equ 987
FLAG_HIDDENITEM_D43R0103_ZINC                             equ 988
FLAG_HIDDENITEM_D43R0102_ULTRA_BALL                       equ 989
FLAG_HIDDENITEM_T10_RARE_CANDY                            equ 990
FLAG_HIDDENITEM_D40R0102_SUPER_REPEL                      equ 991
FLAG_HIDDENITEM_D40R0102_PEARL                            equ 992
FLAG_HIDDENITEM_D40R0102_REVIVE                           equ 993
FLAG_HIDDENITEM_R04_BIG_MUSHROOM                          equ 994
FLAG_HIDDENITEM_D02R0101_REVIVE                           equ 995
FLAG_HIDDENITEM_D02R0103_MAX_REVIVE                       equ 996
FLAG_HIDDENITEM_R10_CARBOS                                equ 997
FLAG_HIDDENITEM_T03_PP_UP                                 equ 998
FLAG_HIDDENITEM_T03_GUARD_SPEC_                           equ 999
FLAG_HIDDENITEM_T02_NUGGET                                equ 1000
FLAG_HIDDENITEM_D41R0101_REVIVE                           equ 1001
FLAG_HIDDENITEM_D41R0105_ULTRA_BALL                       equ 1002
FLAG_HIDDENITEM_D41R0105_HYPER_POTION                     equ 1003
FLAG_HIDDENITEM_D41R0102_MAX_ETHER                        equ 1004
FLAG_HIDDENITEM_D41R0102_HYPER_POTION                     equ 1005
FLAG_HIDDENITEM_D41R0107_MAX_REVIVE                       equ 1006
FLAG_HIDDENITEM_W19_REVIVE                                equ 1007
FLAG_HIDDENITEM_W19_MAX_ELIXIR                            equ 1008
FLAG_HIDDENITEM_D48R0101_BIG_PEARL                        equ 1009
FLAG_HIDDENITEM_D11R0104_RARE_CANDY                       equ 1010
FLAG_HIDDENITEM_D36R0101_TINYMUSHROOM                     equ 1011
FLAG_HIDDENITEM_D36R0101_REPEL                            equ 1012
FLAG_HIDDENITEM_D36R0101_BIG_MUSHROOM                     equ 1013
FLAG_HIDDENITEM_D36R0101_TINYMUSHROOM_2                   equ 1014
FLAG_HIDDENITEM_D36R0101_TINYMUSHROOM_3                   equ 1015
FLAG_HIDDENITEM_D46R0101_BIG_MUSHROOM                     equ 1016
FLAG_HIDDENITEM_D46R0101_BIG_MUSHROOM_2                   equ 1017
FLAG_HIDDENITEM_D46R0101_TINYMUSHROOM                     equ 1018
FLAG_HIDDENITEM_D46R0101_TINYMUSHROOM_2                   equ 1019
FLAG_HIDDENITEM_D46R0101_TINYMUSHROOM_3                   equ 1020
FLAG_HIDDENITEM_D03R0102_PROTEIN                          equ 1021
FLAG_HIDDENITEM_D41R0106_IRON                             equ 1022
FLAG_HIDDENITEM_D11R0105_ZINC                             equ 1023
FLAG_HIDDENITEM_D01R0101_CALCIUM                          equ 1024
FLAG_HIDDENITEM_T21_NUGGET                                equ 1025
FLAG_HIDDENITEM_D50R0101_ULTRA_BALL                       equ 1026
FLAG_HIDDENITEM_T03_MAX_REVIVE                            equ 1027
FLAG_HIDDENITEM_D39R0102_REVIVE                           equ 1028
FLAG_HIDDENITEM_W20_DEEPSEASCALE                          equ 1029
FLAG_HIDDENITEM_R45_R46_PP_MAX                            equ 1030

NUM_HIDDEN_ITEMS                                          equ   231

// the following are unused flags for Hidden Items

FLAG_UNK_407                                              equ 1031
FLAG_UNK_408                                              equ 1032
FLAG_UNK_409                                              equ 1033
FLAG_UNK_40A                                              equ 1034
FLAG_UNK_40B                                              equ 1035
FLAG_UNK_40C                                              equ 1036
FLAG_UNK_40D                                              equ 1037
FLAG_UNK_40E                                              equ 1038
FLAG_UNK_40F                                              equ 1039
FLAG_UNK_410                                              equ 1040
FLAG_UNK_411                                              equ 1041
FLAG_UNK_412                                              equ 1042
FLAG_UNK_413                                              equ 1043
FLAG_UNK_414                                              equ 1044
FLAG_UNK_415                                              equ 1045
FLAG_UNK_416                                              equ 1046
FLAG_UNK_417                                              equ 1047
FLAG_UNK_418                                              equ 1048
FLAG_UNK_419                                              equ 1049
FLAG_UNK_41A                                              equ 1050
FLAG_UNK_41B                                              equ 1051
FLAG_UNK_41C                                              equ 1052
FLAG_UNK_41D                                              equ 1053
FLAG_UNK_41E                                              equ 1054
FLAG_UNK_41F                                              equ 1055


// Item ball collection flags

FLAG_HIDE_ITEMBALL_R30_ANTIDOTE                           equ 1056
FLAG_HIDE_ITEMBALL_R31_POTION                             equ 1057
FLAG_HIDE_ITEMBALL_R31_POKE_BALL                          equ 1058
FLAG_HIDE_ITEMBALL_T22_RARE_CANDY                         equ 1059
FLAG_HIDE_ITEMBALL_T22_PP_UP                              equ 1060
FLAG_HIDE_ITEMBALL_D15R0101_PARLYZ_HEAL                   equ 1061
FLAG_HIDE_ITEMBALL_D15R0102_X_ACCURACY                    equ 1062
FLAG_HIDE_ITEMBALL_D15R0103_POTION                        equ 1063
FLAG_HIDE_ITEMBALL_D15R0103_ESCAPE_ROPE                   equ 1064
FLAG_HIDE_ITEMBALL_R32_REPEL                              equ 1065
FLAG_HIDE_ITEMBALL_R32_GREAT_BALL                         equ 1066
FLAG_HIDE_ITEMBALL_D25R0101_X_ATTACK                      equ 1067
FLAG_HIDE_ITEMBALL_D25R0101_GREAT_BALL                    equ 1068
FLAG_HIDE_ITEMBALL_D25R0101_POTION                        equ 1069
FLAG_HIDE_ITEMBALL_D25R0101_AWAKENING                     equ 1070
FLAG_HIDE_ITEMBALL_D25R0102_X_DEFENSE                     equ 1071
FLAG_HIDE_ITEMBALL_D25R0102_TM39                          equ 1072
FLAG_HIDE_ITEMBALL_D18R0101_HP_UP                         equ 1073
FLAG_HIDE_ITEMBALL_D18R0102_TM12                          equ 1074
FLAG_HIDE_ITEMBALL_D26R0102_SUPER_POTION                  equ 1075
FLAG_HIDE_ITEMBALL_D26R0103_TM18                          equ 1076
FLAG_HIDE_ITEMBALL_D36R0101_REVIVE                        equ 1077
FLAG_HIDE_ITEMBALL_D37R0105_TM82                          equ 1078
FLAG_HIDE_ITEMBALL_D37R0105_MAX_ETHER                     equ 1079
FLAG_UNK_438                                              equ 1080
FLAG_HIDE_ITEMBALL_R29_POTION                             equ 1081
FLAG_HIDE_ITEMBALL_D25R0103_ELIXIR                        equ 1082
FLAG_HIDE_ITEMBALL_D25R0103_HYPER_POTION                  equ 1083
FLAG_HIDE_ITEMBALL_D36R0101_X_ATTACK                      equ 1084
FLAG_HIDE_ITEMBALL_D36R0101_ANTIDOTE                      equ 1085
FLAG_HIDE_ITEMBALL_D36R0101_ETHER                         equ 1086
FLAG_HIDE_ITEMBALL_R34_NUGGET                             equ 1087
FLAG_HIDE_ITEMBALL_R30_POTION                             equ 1088
FLAG_HIDE_ITEMBALL_D23R0104_ULTRA_BALL                    equ 1089
FLAG_HIDE_ITEMBALL_D37R0103_BURN_HEAL                     equ 1090
FLAG_HIDE_ITEMBALL_D37R0103_AMULET_COIN                   equ 1091
FLAG_HIDE_ITEMBALL_D37R0103_ETHER                         equ 1092
FLAG_HIDE_ITEMBALL_D37R0103_ULTRA_BALL                    equ 1093
FLAG_HIDE_ITEMBALL_D37R0105_ULTRA_BALL                    equ 1094
FLAG_HIDE_ITEMBALL_D37R0104_FULL_HEAL                     equ 1095
FLAG_HIDE_ITEMBALL_D37R0104_SMOKE_BALL                    equ 1096
FLAG_HIDE_ITEMBALL_R35_TM66                               equ 1097
FLAG_HIDE_ITEMBALL_D27R0104_ETHER                         equ 1098
FLAG_HIDE_ITEMBALL_D27R0105_TM87                          equ 1099
FLAG_HIDE_ITEMBALL_D27R0106_SUPER_REPEL                   equ 1100
FLAG_HIDE_ITEMBALL_D27R0107_SUPER_POTION                  equ 1101
FLAG_HIDE_ITEMBALL_D35R0102_HYPER_POTION                  equ 1102
FLAG_HIDE_ITEMBALL_D35R0102_GUARD_SPEC_                   equ 1103
FLAG_HIDE_ITEMBALL_D35R0102_NUGGET                        equ 1104
FLAG_HIDE_ITEMBALL_D35R0103_TM46                          equ 1105
FLAG_HIDE_ITEMBALL_D35R0104_TM49                          equ 1106
FLAG_HIDE_ITEMBALL_D35R0104_FULL_HEAL                     equ 1107
FLAG_HIDE_ITEMBALL_D35R0104_PROTEIN                       equ 1108
FLAG_HIDE_ITEMBALL_D35R0104_X_SPECIAL                     equ 1109
FLAG_HIDE_ITEMBALL_D39R0103_TM72                          equ 1110
FLAG_HIDE_ITEMBALL_D39R0101_HM07                          equ 1111
FLAG_HIDE_ITEMBALL_D44R0102_DRAGON_FANG                   equ 1112
FLAG_HIDE_ITEMBALL_D42R0101_TM54                          equ 1113
FLAG_HIDE_ITEMBALL_D42R0101_REVIVE                        equ 1114
FLAG_HIDE_ITEMBALL_R26_MAX_ELIXIR                         equ 1115
FLAG_HIDE_ITEMBALL_D45R0101_MOON_STONE                    equ 1116
FLAG_HIDE_ITEMBALL_R27_RARE_CANDY                         equ 1117
FLAG_HIDE_ITEMBALL_R27_TM02                               equ 1118
FLAG_HIDE_ITEMBALL_D43R0101_MAX_REVIVE                    equ 1119
FLAG_HIDE_ITEMBALL_D43R0101_FULL_HEAL                     equ 1120
FLAG_HIDE_ITEMBALL_D43R0101_POTION                        equ 1121
FLAG_HIDE_ITEMBALL_D43R0102_TM26                          equ 1122
FLAG_HIDE_ITEMBALL_D43R0102_HP_UP                         equ 1123
FLAG_HIDE_ITEMBALL_D43R0102_FULL_RESTORE                  equ 1124
FLAG_HIDE_ITEMBALL_D43R0103_ULTRA_BALL                    equ 1125
FLAG_HIDE_ITEMBALL_D43R0103_TM79                          equ 1126
FLAG_HIDE_ITEMBALL_D43R0103_RARE_CANDY                    equ 1127
FLAG_HIDE_ITEMBALL_D24R0212_HEAL_POWDER                   equ 1128
FLAG_HIDE_ITEMBALL_D24R0212_ENERGYPOWDER                  equ 1129
FLAG_HIDE_ITEMBALL_D24R0212_ORAN_BERRY                    equ 1130
FLAG_HIDE_ITEMBALL_D24R0212_PECHA_BERRY                   equ 1131
FLAG_HIDE_ITEMBALL_D24R0213_HEAL_POWDER                   equ 1132
FLAG_HIDE_ITEMBALL_D24R0213_ENERGY_ROOT                   equ 1133
FLAG_HIDE_ITEMBALL_D24R0213_SITRUS_BERRY                  equ 1134
FLAG_HIDE_ITEMBALL_D24R0213_MOON_STONE                    equ 1135
FLAG_HIDE_ITEMBALL_D24R0215_STARDUST                      equ 1136
FLAG_HIDE_ITEMBALL_D24R0215_STAR_PIECE                    equ 1137
FLAG_HIDE_ITEMBALL_D24R0215_LEPPA_BERRY                   equ 1138
FLAG_HIDE_ITEMBALL_D24R0215_MYSTIC_WATER                  equ 1139
FLAG_HIDE_ITEMBALL_D24R0214_REVIVAL_HERB                  equ 1140
FLAG_HIDE_ITEMBALL_D24R0214_CHARCOAL                      equ 1141
FLAG_HIDE_ITEMBALL_D24R0214_LIFE_ORB                      equ 1142
FLAG_HIDE_ITEMBALL_D24R0214_LEPPA_BERRY                   equ 1143
FLAG_HIDE_ITEMBALL_D22R0101_SOOTHE_BELL                   equ 1144
FLAG_HIDE_ITEMBALL_D22R0101_TM28                          equ 1145
FLAG_HIDE_ITEMBALL_D24R0101_POTION                        equ 1146
FLAG_HIDE_ITEMBALL_D24R0101_HYPER_POTION                  equ 1147
FLAG_HIDE_ITEMBALL_D17R0103_FULL_HEAL                     equ 1148
FLAG_HIDE_ITEMBALL_D17R0104_ESCAPE_ROPE                   equ 1149
FLAG_HIDE_ITEMBALL_D17R0104_ULTRA_BALL                    equ 1150
FLAG_HIDE_ITEMBALL_D17R0104_PP_UP                         equ 1151
FLAG_HIDE_ITEMBALL_D17R0105_RARE_CANDY                    equ 1152
FLAG_HIDE_ITEMBALL_D17R0106_MAX_POTION                    equ 1153
FLAG_HIDE_ITEMBALL_D17R0106_FULL_HEAL                     equ 1154
FLAG_HIDE_ITEMBALL_D17R0107_MAX_REVIVE                    equ 1155
FLAG_HIDE_ITEMBALL_D17R0108_FULL_RESTORE                  equ 1156
FLAG_HIDE_ITEMBALL_D17R0108_MAX_ELIXIR                    equ 1157
FLAG_HIDE_ITEMBALL_D17R0108_NUGGET                        equ 1158
FLAG_HIDE_ITEMBALL_D17R0109_HP_UP                         equ 1159
FLAG_HIDE_ITEMBALL_D27R0103_RARE_CANDY                    equ 1160
FLAG_HIDE_ITEMBALL_D40R0101_ULTRA_BALL                    equ 1161
FLAG_HIDE_ITEMBALL_D40R0101_ULTRA_BALL_2                  equ 1162
FLAG_HIDE_ITEMBALL_D40R0102_ESCAPE_ROPE                   equ 1163
FLAG_HIDE_ITEMBALL_D40R0102_CARBOS                        equ 1164
FLAG_HIDE_ITEMBALL_D40R0102_FULL_RESTORE                  equ 1165
FLAG_HIDE_ITEMBALL_D40R0102_NUGGET                        equ 1166
FLAG_HIDE_ITEMBALL_D40R0102_CALCIUM                       equ 1167
FLAG_HIDE_ITEMBALL_D40R0104_MAX_REVIVE                    equ 1168
FLAG_HIDE_ITEMBALL_D40R0104_FULL_RESTORE                  equ 1169
FLAG_HIDE_ITEMBALL_D40R0104_MAX_ELIXIR                    equ 1170
FLAG_HIDE_ITEMBALL_D40R0106_RARE_CANDY                    equ 1171
FLAG_HIDE_ITEMBALL_R42_SUPER_POTION                       equ 1172
FLAG_HIDE_ITEMBALL_D38R0101_ETHER                         equ 1173
FLAG_HIDE_ITEMBALL_D38R0101_REVIVE                        equ 1174
FLAG_HIDE_ITEMBALL_D38R0102_ESCAPE_ROPE                   equ 1175
FLAG_HIDE_ITEMBALL_D38R0102_NUGGET                        equ 1176
FLAG_HIDE_ITEMBALL_D38R0102_IRON_BALL                     equ 1177
FLAG_HIDE_ITEMBALL_D38R0102_MAX_POTION                    equ 1178
FLAG_HIDE_ITEMBALL_D38R0102_IRON                          equ 1179
FLAG_HIDE_ITEMBALL_D38R0102_MAX_REVIVE                    equ 1180
FLAG_HIDE_ITEMBALL_D38R0102_ULTRA_BALL                    equ 1181
FLAG_HIDE_ITEMBALL_D38R0103_RARE_CANDY                    equ 1182
FLAG_HIDE_ITEMBALL_D38R0103_MAX_POTION                    equ 1183
FLAG_HIDE_ITEMBALL_D38R0103_TM40                          equ 1184
FLAG_HIDE_ITEMBALL_D38R0103_ELIXIR                        equ 1185
FLAG_HIDE_ITEMBALL_D38R0103_DRAGON_SCALE                  equ 1186
FLAG_HIDE_ITEMBALL_D38R0103_ESCAPE_ROPE                   equ 1187
FLAG_HIDE_ITEMBALL_D38R0104_CARBOS                        equ 1188
FLAG_HIDE_ITEMBALL_D38R0104_PP_UP                         equ 1189
FLAG_HIDE_ITEMBALL_D38R0104_FULL_RESTORE                  equ 1190
FLAG_HIDE_ITEMBALL_D38R0104_MAX_ETHER                     equ 1191
FLAG_HIDE_ITEMBALL_D38R0104_HYPER_POTION                  equ 1192
FLAG_HIDE_ITEMBALL_R42_DUBIOUS_DISC                       equ 1193
FLAG_HIDE_ITEMBALL_D38R0102_FULL_INCENSE                  equ 1194
FLAG_HIDE_ITEMBALL_D38R0102_PROTECTOR                     equ 1195
FLAG_HIDE_ITEMBALL_D35R0104_ULTRA_BALL                    equ 1196
FLAG_HIDE_ITEMBALL_R07_MENTAL_HERB                        equ 1197
FLAG_HIDE_ITEMBALL_R43_MAX_ETHER                          equ 1198
FLAG_HIDE_ITEMBALL_W19_TM55                               equ 1199
FLAG_HIDE_ITEMBALL_T25R1101_TM78                          equ 1200
FLAG_HIDE_ITEMBALL_R44_MAX_REPEL                          equ 1201
FLAG_HIDE_ITEMBALL_R44_MAX_REVIVE                         equ 1202
FLAG_HIDE_ITEMBALL_R44_ULTRA_BALL                         equ 1203
FLAG_HIDE_ITEMBALL_D39R0101_PROTEIN                       equ 1204
FLAG_HIDE_ITEMBALL_D39R0101_PP_UP                         equ 1205
FLAG_HIDE_ITEMBALL_D39R0103_FULL_HEAL                     equ 1206
FLAG_HIDE_ITEMBALL_D39R0103_MAX_POTION                    equ 1207
FLAG_HIDE_ITEMBALL_D39R0104_NEVERMELTICE                  equ 1208
FLAG_HIDE_ITEMBALL_D39R0102_IRON                          equ 1209
FLAG_HIDE_ITEMBALL_D44R0102_CALCIUM                       equ 1210
FLAG_HIDE_ITEMBALL_D44R0102_MAX_ELIXIR                    equ 1211
FLAG_HIDE_ITEMBALL_R45_ELIXIR                             equ 1212
FLAG_HIDE_ITEMBALL_R45_MAX_POTION                         equ 1213
FLAG_HIDE_ITEMBALL_R45_FULL_HEAL                          equ 1214
FLAG_HIDE_ITEMBALL_R45_NUGGET                             equ 1215
FLAG_HIDE_ITEMBALL_R45_REVIVE                             equ 1216
FLAG_HIDE_ITEMBALL_R46_X_SPEED                            equ 1217
FLAG_HIDE_ITEMBALL_D42R0102_POTION                        equ 1218
FLAG_HIDE_ITEMBALL_D42R0102_HYPER_POTION                  equ 1219
FLAG_HIDE_ITEMBALL_D42R0102_FULL_HEAL                     equ 1220
FLAG_HIDE_ITEMBALL_D42R0102_DIRE_HIT                      equ 1221
FLAG_HIDE_ITEMBALL_D05R0101_ELIXIR                        equ 1222
FLAG_HIDE_ITEMBALL_D05R0101_TM56                          equ 1223
FLAG_HIDE_ITEMBALL_D05R0102_IRON                          equ 1224
FLAG_HIDE_ITEMBALL_D05R0102_PP_UP                         equ 1225
FLAG_HIDE_ITEMBALL_D05R0102_REVIVE                        equ 1226
FLAG_HIDE_ITEMBALL_R25_PROTEIN                            equ 1227
FLAG_HIDE_ITEMBALL_R12_CALCIUM                            equ 1228
FLAG_HIDE_ITEMBALL_R12_YELLOW_FLUTE                       equ 1229
FLAG_HIDE_ITEMBALL_R15_PP_UP                              equ 1230
FLAG_HIDE_ITEMBALL_T31_REAPER_CLOTH                       equ 1231
FLAG_HIDE_ITEMBALL_R02R0101_CARBOS                        equ 1232
FLAG_HIDE_ITEMBALL_R02_ELIXIR                             equ 1233
FLAG_HIDE_ITEMBALL_D46R0101_DIRE_HIT                      equ 1234
FLAG_HIDE_ITEMBALL_D46R0101_BLUE_FLUTE                    equ 1235
FLAG_HIDE_ITEMBALL_T09_MAGMARIZER                         equ 1236
FLAG_HIDE_ITEMBALL_D46R0101_LEAF_STONE                    equ 1237
FLAG_HIDE_ITEMBALL_D46R0101_TM77                          equ 1238
FLAG_HIDE_ITEMBALL_R32_SHELL_BELL                         equ 1239
FLAG_HIDE_ITEMBALL_R04_HP_UP                              equ 1240
FLAG_HIDE_ITEMBALL_D41R0101_FULL_RESTORE                  equ 1241
FLAG_HIDE_ITEMBALL_D41R0102_PURE_INCENSE                  equ 1242
FLAG_HIDE_ITEMBALL_D41R0102_DAWN_STONE                    equ 1243
FLAG_HIDE_ITEMBALL_D41R0103_ESCAPE_ROPE                   equ 1244
FLAG_HIDE_ITEMBALL_D41R0103_TM76                          equ 1245
FLAG_HIDE_ITEMBALL_D41R0104_EXPERT_BELT                   equ 1246
FLAG_HIDE_ITEMBALL_D41R0106_MAX_ELIXIR                    equ 1247
FLAG_HIDE_ITEMBALL_D41R0106_CALCIUM                       equ 1248
FLAG_HIDE_ITEMBALL_D41R0106_PROTEIN                       equ 1249
FLAG_HIDE_ITEMBALL_D41R0106_MAX_REVIVE                    equ 1250
FLAG_HIDE_ITEMBALL_D11R0102_ICE_HEAL                      equ 1251
FLAG_HIDE_ITEMBALL_D11R0103_WATER_STONE                   equ 1252
FLAG_HIDE_ITEMBALL_D11R0104_REVIVE                        equ 1253
FLAG_HIDE_ITEMBALL_D11R0104_BIG_PEARL                     equ 1254
FLAG_HIDE_ITEMBALL_D11R0105_ULTRA_BALL                    equ 1255
FLAG_HIDE_ITEMBALL_D11R0102_GRIP_CLAW                     equ 1256
FLAG_HIDE_ITEMBALL_D03R0101_MAX_ELIXIR                    equ 1257
FLAG_HIDE_ITEMBALL_D11R0105_TM13                          equ 1258
FLAG_HIDE_ITEMBALL_D03R0101_FULL_RESTORE                  equ 1259
FLAG_HIDE_ITEMBALL_D03R0101_NUGGET                        equ 1260
FLAG_HIDE_ITEMBALL_D03R0101_SEA_INCENSE                   equ 1261
FLAG_HIDE_ITEMBALL_D03R0102_PP_UP                         equ 1262
FLAG_HIDE_ITEMBALL_D03R0102_ULTRA_BALL                    equ 1263
FLAG_HIDE_ITEMBALL_D03R0102_TM24                          equ 1264
FLAG_HIDE_ITEMBALL_D03R0102_ODD_INCENSE                   equ 1265
FLAG_HIDE_ITEMBALL_W40_TM88                               equ 1266
FLAG_HIDE_ITEMBALL_R47_REVIVE                             equ 1267
FLAG_HIDE_ITEMBALL_D03R0103_MAX_REVIVE                    equ 1268
FLAG_HIDE_ITEMBALL_D03R0103_ULTRA_BALL                    equ 1269
FLAG_HIDE_ITEMBALL_D03R0103_DUSK_STONE                    equ 1270
FLAG_HIDE_ITEMBALL_D03R0103_ELECTIRIZER                   equ 1271
FLAG_HIDE_ITEMBALL_D03R0103_BLACK_SLUDGE                  equ 1272
FLAG_HIDE_ITEMBALL_R32_TM09                               equ 1273
FLAG_HIDE_ITEMBALL_R34_TM63                               equ 1274
FLAG_HIDE_ITEMBALL_R35_PARLYZ_HEAL                        equ 1275
FLAG_HIDE_ITEMBALL_R36_HYPER_POTION                       equ 1276
FLAG_HIDE_ITEMBALL_R38_MAX_POTION                         equ 1277
FLAG_HIDE_ITEMBALL_R38_LAX_INCENSE                        equ 1278
FLAG_HIDE_ITEMBALL_R39_TM60                               equ 1279
FLAG_HIDE_ITEMBALL_R28_TM35                               equ 1280
FLAG_HIDE_ITEMBALL_R47_LAGGING_TAIL                       equ 1281
FLAG_HIDE_ITEMBALL_R47_WAVE_INCENSE                       equ 1282
FLAG_HIDE_ITEMBALL_R47_WHITE_FLUTE                        equ 1283
FLAG_HIDE_ITEMBALL_R48_NUGGET                             equ 1284
FLAG_HIDE_ITEMBALL_R42_TM65                               equ 1285
FLAG_HIDE_ITEMBALL_D22R0101_SHINY_STONE                   equ 1286
FLAG_HIDE_ITEMBALL_R08_TM41                               equ 1287
FLAG_HIDE_ITEMBALL_T29_TM43                               equ 1288
FLAG_HIDE_ITEMBALL_T29_CHOICE_SPECS                       equ 1289
FLAG_HIDE_ITEMBALL_T29_RED_FLUTE                          equ 1290
FLAG_HIDE_ITEMBALL_D18R0101_ANTIDOTE                      equ 1291
FLAG_HIDE_ITEMBALL_D42R0102_BLACK_FLUTE                   equ 1292
FLAG_HIDE_ITEMBALL_R27_DESTINY_KNOT                       equ 1293
FLAG_HIDE_ITEMBALL_T06_LUCK_INCENSE                       equ 1294
FLAG_HIDE_ITEMBALL_T06_STICKY_BARB                        equ 1295
FLAG_HIDE_ITEMBALL_D05R0102_OVAL_STONE                    equ 1296
FLAG_HIDE_ITEMBALL_D01R0101_PP_MAX                        equ 1297
FLAG_HIDE_ITEMBALL_D01R0101_ROCK_INCENSE                  equ 1298
FLAG_HIDE_ITEMBALL_R06_TM62                               equ 1299
FLAG_HIDE_ITEMBALL_R10R0101_TM69                          equ 1300
FLAG_HIDE_ITEMBALL_R09_TM91                               equ 1301
FLAG_HIDE_ITEMBALL_R09_FULL_RESTORE                       equ 1302
FLAG_HIDE_ITEMBALL_R09_LIGHT_CLAY                         equ 1303
FLAG_HIDE_ITEMBALL_R09_MAX_POTION                         equ 1304
FLAG_HIDE_ITEMBALL_T07_TM67                               equ 1305
FLAG_HIDE_ITEMBALL_R15_ROSE_INCENSE                       equ 1306
FLAG_HIDE_ITEMBALL_R11_TM86                               equ 1307
FLAG_HIDE_ITEMBALL_T03_WISE_GLASSES                       equ 1308
FLAG_HIDE_ITEMBALL_R03_BIG_ROOT                           equ 1309
FLAG_HIDE_ITEMBALL_T26_TM57                               equ 1310
FLAG_UNK_51F                                              equ 1311
FLAG_UNK_520                                              equ 1312
FLAG_UNK_521                                              equ 1313
FLAG_UNK_522                                              equ 1314
FLAG_UNK_523                                              equ 1315
FLAG_UNK_524                                              equ 1316
FLAG_UNK_525                                              equ 1317
FLAG_UNK_526                                              equ 1318
FLAG_UNK_527                                              equ 1319
FLAG_UNK_528                                              equ 1320
FLAG_UNK_529                                              equ 1321
FLAG_UNK_52A                                              equ 1322
FLAG_UNK_52B                                              equ 1323
FLAG_UNK_52C                                              equ 1324
FLAG_UNK_52D                                              equ 1325
FLAG_UNK_52E                                              equ 1326
FLAG_UNK_52F                                              equ 1327
FLAG_UNK_530                                              equ 1328
FLAG_UNK_531                                              equ 1329
FLAG_UNK_532                                              equ 1330
FLAG_UNK_533                                              equ 1331
FLAG_UNK_534                                              equ 1332
FLAG_UNK_535                                              equ 1333
FLAG_UNK_536                                              equ 1334
FLAG_UNK_537                                              equ 1335
FLAG_UNK_538                                              equ 1336
FLAG_UNK_539                                              equ 1337
FLAG_UNK_53A                                              equ 1338
FLAG_UNK_53B                                              equ 1339
FLAG_UNK_53C                                              equ 1340
FLAG_UNK_53D                                              equ 1341
FLAG_UNK_53E                                              equ 1342
FLAG_UNK_53F                                              equ 1343
FLAG_UNK_540                                              equ 1344
FLAG_UNK_541                                              equ 1345
FLAG_UNK_542                                              equ 1346
FLAG_UNK_543                                              equ 1347
FLAG_UNK_544                                              equ 1348
FLAG_UNK_545                                              equ 1349
FLAG_UNK_546                                              equ 1350
FLAG_UNK_547                                              equ 1351
FLAG_UNK_548                                              equ 1352
FLAG_UNK_549                                              equ 1353
FLAG_UNK_54A                                              equ 1354
FLAG_UNK_54B                                              equ 1355
FLAG_UNK_54C                                              equ 1356
FLAG_UNK_54D                                              equ 1357
FLAG_UNK_54E                                              equ 1358
FLAG_UNK_54F                                              equ 1359


// Trainer flags

TRAINER_FLAG_BASE                                         equ 1360



FLAG_UNK_82E                                              equ 2094
FLAG_UNK_82F                                              equ 2095
FLAG_UNK_830                                              equ 2096
FLAG_UNK_831                                              equ 2097
FLAG_UNK_832                                              equ 2098
FLAG_UNK_833                                              equ 2099
FLAG_UNK_834                                              equ 2100
FLAG_UNK_835                                              equ 2101
FLAG_UNK_836                                              equ 2102
FLAG_UNK_837                                              equ 2103
FLAG_UNK_838                                              equ 2104
FLAG_UNK_839                                              equ 2105
FLAG_UNK_83A                                              equ 2106
FLAG_UNK_83B                                              equ 2107
FLAG_UNK_83C                                              equ 2108
FLAG_UNK_83D                                              equ 2109
FLAG_UNK_83E                                              equ 2110
FLAG_UNK_83F                                              equ 2111
FLAG_UNK_840                                              equ 2112
FLAG_UNK_841                                              equ 2113
FLAG_UNK_842                                              equ 2114
FLAG_UNK_843                                              equ 2115
FLAG_UNK_844                                              equ 2116
FLAG_UNK_845                                              equ 2117
FLAG_UNK_846                                              equ 2118
FLAG_UNK_847                                              equ 2119
FLAG_UNK_848                                              equ 2120
FLAG_UNK_849                                              equ 2121
FLAG_UNK_84A                                              equ 2122
FLAG_UNK_84B                                              equ 2123
FLAG_UNK_84C                                              equ 2124
FLAG_UNK_84D                                              equ 2125
FLAG_UNK_84E                                              equ 2126
FLAG_UNK_84F                                              equ 2127
FLAG_UNK_850                                              equ 2128
FLAG_UNK_851                                              equ 2129
FLAG_UNK_852                                              equ 2130
FLAG_UNK_853                                              equ 2131
FLAG_UNK_854                                              equ 2132
FLAG_UNK_855                                              equ 2133
FLAG_UNK_856                                              equ 2134
FLAG_UNK_857                                              equ 2135
FLAG_UNK_858                                              equ 2136
FLAG_UNK_859                                              equ 2137
FLAG_UNK_85A                                              equ 2138
FLAG_UNK_85B                                              equ 2139
FLAG_UNK_85C                                              equ 2140
FLAG_UNK_85D                                              equ 2141
FLAG_UNK_85E                                              equ 2142
FLAG_UNK_85F                                              equ 2143
FLAG_UNK_860                                              equ 2144
FLAG_UNK_861                                              equ 2145
FLAG_UNK_862                                              equ 2146
FLAG_UNK_863                                              equ 2147
FLAG_UNK_864                                              equ 2148
FLAG_UNK_865                                              equ 2149
FLAG_UNK_866                                              equ 2150
FLAG_UNK_867                                              equ 2151
FLAG_UNK_868                                              equ 2152
FLAG_UNK_869                                              equ 2153
FLAG_UNK_86A                                              equ 2154
FLAG_UNK_86B                                              equ 2155
FLAG_UNK_86C                                              equ 2156
FLAG_UNK_86D                                              equ 2157
FLAG_UNK_86E                                              equ 2158
FLAG_UNK_86F                                              equ 2159
FLAG_UNK_870                                              equ 2160
FLAG_UNK_871                                              equ 2161
FLAG_UNK_872                                              equ 2162
FLAG_UNK_873                                              equ 2163
FLAG_UNK_874                                              equ 2164
FLAG_UNK_875                                              equ 2165
FLAG_UNK_876                                              equ 2166
FLAG_UNK_877                                              equ 2167
FLAG_UNK_878                                              equ 2168
FLAG_UNK_879                                              equ 2169
FLAG_UNK_87A                                              equ 2170
FLAG_UNK_87B                                              equ 2171
FLAG_UNK_87C                                              equ 2172
FLAG_UNK_87D                                              equ 2173
FLAG_UNK_87E                                              equ 2174
FLAG_UNK_87F                                              equ 2175
FLAG_UNK_880                                              equ 2176
FLAG_UNK_881                                              equ 2177
FLAG_UNK_882                                              equ 2178
FLAG_UNK_883                                              equ 2179
FLAG_UNK_884                                              equ 2180
FLAG_UNK_885                                              equ 2181
FLAG_UNK_886                                              equ 2182
FLAG_UNK_887                                              equ 2183
FLAG_UNK_888                                              equ 2184
FLAG_UNK_889                                              equ 2185
FLAG_UNK_88A                                              equ 2186
FLAG_UNK_88B                                              equ 2187
FLAG_UNK_88C                                              equ 2188
FLAG_UNK_88D                                              equ 2189
FLAG_UNK_88E                                              equ 2190
FLAG_UNK_88F                                              equ 2191
FLAG_UNK_890                                              equ 2192
FLAG_UNK_891                                              equ 2193
FLAG_UNK_892                                              equ 2194
FLAG_UNK_893                                              equ 2195
FLAG_UNK_894                                              equ 2196
FLAG_UNK_895                                              equ 2197
FLAG_UNK_896                                              equ 2198
FLAG_UNK_897                                              equ 2199
FLAG_UNK_898                                              equ 2200
FLAG_UNK_899                                              equ 2201
FLAG_UNK_89A                                              equ 2202
FLAG_UNK_89B                                              equ 2203
FLAG_UNK_89C                                              equ 2204
FLAG_UNK_89D                                              equ 2205
FLAG_UNK_89E                                              equ 2206
FLAG_UNK_89F                                              equ 2207
FLAG_UNK_8A0                                              equ 2208
FLAG_UNK_8A1                                              equ 2209
FLAG_UNK_8A2                                              equ 2210
FLAG_UNK_8A3                                              equ 2211
FLAG_UNK_8A4                                              equ 2212
FLAG_UNK_8A5                                              equ 2213
FLAG_UNK_8A6                                              equ 2214
FLAG_UNK_8A7                                              equ 2215
FLAG_UNK_8A8                                              equ 2216
FLAG_UNK_8A9                                              equ 2217
FLAG_UNK_8AA                                              equ 2218
FLAG_UNK_8AB                                              equ 2219
FLAG_UNK_8AC                                              equ 2220
FLAG_UNK_8AD                                              equ 2221
FLAG_UNK_8AE                                              equ 2222
FLAG_UNK_8AF                                              equ 2223
FLAG_UNK_8B0                                              equ 2224
FLAG_UNK_8B1                                              equ 2225
FLAG_UNK_8B2                                              equ 2226
FLAG_UNK_8B3                                              equ 2227
FLAG_UNK_8B4                                              equ 2228
FLAG_UNK_8B5                                              equ 2229
FLAG_UNK_8B6                                              equ 2230
FLAG_UNK_8B7                                              equ 2231
FLAG_UNK_8B8                                              equ 2232
FLAG_UNK_8B9                                              equ 2233
FLAG_UNK_8BA                                              equ 2234
FLAG_UNK_8BB                                              equ 2235
FLAG_UNK_8BC                                              equ 2236
FLAG_UNK_8BD                                              equ 2237
FLAG_UNK_8BE                                              equ 2238
FLAG_UNK_8BF                                              equ 2239
FLAG_UNK_8C0                                              equ 2240
FLAG_UNK_8C1                                              equ 2241
FLAG_UNK_8C2                                              equ 2242
FLAG_UNK_8C3                                              equ 2243
FLAG_UNK_8C4                                              equ 2244
FLAG_UNK_8C5                                              equ 2245
FLAG_UNK_8C6                                              equ 2246
FLAG_UNK_8C7                                              equ 2247
FLAG_UNK_8C8                                              equ 2248
FLAG_UNK_8C9                                              equ 2249
FLAG_UNK_8CA                                              equ 2250
FLAG_UNK_8CB                                              equ 2251
FLAG_UNK_8CC                                              equ 2252
FLAG_UNK_8CD                                              equ 2253
FLAG_UNK_8CE                                              equ 2254
FLAG_UNK_8CF                                              equ 2255
FLAG_UNK_8D0                                              equ 2256
FLAG_UNK_8D1                                              equ 2257
FLAG_UNK_8D2                                              equ 2258
FLAG_UNK_8D3                                              equ 2259
FLAG_UNK_8D4                                              equ 2260
FLAG_UNK_8D5                                              equ 2261
FLAG_UNK_8D6                                              equ 2262
FLAG_UNK_8D7                                              equ 2263
FLAG_UNK_8D8                                              equ 2264
FLAG_UNK_8D9                                              equ 2265
FLAG_UNK_8DA                                              equ 2266
FLAG_UNK_8DB                                              equ 2267
FLAG_UNK_8DC                                              equ 2268
FLAG_UNK_8DD                                              equ 2269
FLAG_UNK_8DE                                              equ 2270
FLAG_UNK_8DF                                              equ 2271
FLAG_UNK_8E0                                              equ 2272
FLAG_UNK_8E1                                              equ 2273
FLAG_UNK_8E2                                              equ 2274
FLAG_UNK_8E3                                              equ 2275
FLAG_UNK_8E4                                              equ 2276
FLAG_UNK_8E5                                              equ 2277
FLAG_UNK_8E6                                              equ 2278
FLAG_UNK_8E7                                              equ 2279
FLAG_UNK_8E8                                              equ 2280
FLAG_UNK_8E9                                              equ 2281
FLAG_UNK_8EA                                              equ 2282
FLAG_UNK_8EB                                              equ 2283
FLAG_UNK_8EC                                              equ 2284
FLAG_UNK_8ED                                              equ 2285
FLAG_UNK_8EE                                              equ 2286
FLAG_UNK_8EF                                              equ 2287
FLAG_UNK_8F0                                              equ 2288
FLAG_UNK_8F1                                              equ 2289
FLAG_UNK_8F2                                              equ 2290
FLAG_UNK_8F3                                              equ 2291
FLAG_UNK_8F4                                              equ 2292
FLAG_UNK_8F5                                              equ 2293
FLAG_UNK_8F6                                              equ 2294
FLAG_UNK_8F7                                              equ 2295
FLAG_UNK_8F8                                              equ 2296
FLAG_UNK_8F9                                              equ 2297
FLAG_UNK_8FA                                              equ 2298
FLAG_UNK_8FB                                              equ 2299
FLAG_UNK_8FC                                              equ 2300
FLAG_UNK_8FD                                              equ 2301
FLAG_UNK_8FE                                              equ 2302
FLAG_UNK_8FF                                              equ 2303
FLAG_UNK_900                                              equ 2304
FLAG_UNK_901                                              equ 2305
FLAG_UNK_902                                              equ 2306
FLAG_UNK_903                                              equ 2307
FLAG_UNK_904                                              equ 2308
FLAG_UNK_905                                              equ 2309
FLAG_UNK_906                                              equ 2310
FLAG_UNK_907                                              equ 2311
FLAG_UNK_908                                              equ 2312
FLAG_UNK_909                                              equ 2313
FLAG_UNK_90A                                              equ 2314
FLAG_UNK_90B                                              equ 2315
FLAG_UNK_90C                                              equ 2316
FLAG_UNK_90D                                              equ 2317
FLAG_UNK_90E                                              equ 2318
FLAG_UNK_90F                                              equ 2319
FLAG_UNK_910                                              equ 2320
FLAG_UNK_911                                              equ 2321
FLAG_UNK_912                                              equ 2322
FLAG_UNK_913                                              equ 2323
FLAG_UNK_914                                              equ 2324
FLAG_UNK_915                                              equ 2325
FLAG_UNK_916                                              equ 2326
FLAG_UNK_917                                              equ 2327
FLAG_UNK_918                                              equ 2328
FLAG_UNK_919                                              equ 2329
FLAG_UNK_91A                                              equ 2330
FLAG_UNK_91B                                              equ 2331
FLAG_UNK_91C                                              equ 2332
FLAG_UNK_91D                                              equ 2333
FLAG_UNK_91E                                              equ 2334
FLAG_UNK_91F                                              equ 2335
FLAG_UNK_920                                              equ 2336
FLAG_UNK_921                                              equ 2337
FLAG_UNK_922                                              equ 2338
FLAG_UNK_923                                              equ 2339
FLAG_UNK_924                                              equ 2340
FLAG_UNK_925                                              equ 2341
FLAG_UNK_926                                              equ 2342
FLAG_UNK_927                                              equ 2343
FLAG_UNK_928                                              equ 2344
FLAG_UNK_929                                              equ 2345
FLAG_UNK_92A                                              equ 2346
FLAG_UNK_92B                                              equ 2347
FLAG_UNK_92C                                              equ 2348
FLAG_UNK_92D                                              equ 2349
FLAG_UNK_92E                                              equ 2350
FLAG_UNK_92F                                              equ 2351
FLAG_UNK_930                                              equ 2352
FLAG_UNK_931                                              equ 2353
FLAG_UNK_932                                              equ 2354
FLAG_UNK_933                                              equ 2355
FLAG_UNK_934                                              equ 2356
FLAG_UNK_935                                              equ 2357
FLAG_UNK_936                                              equ 2358
FLAG_UNK_937                                              equ 2359
FLAG_UNK_938                                              equ 2360
FLAG_UNK_939                                              equ 2361
FLAG_UNK_93A                                              equ 2362
FLAG_UNK_93B                                              equ 2363
FLAG_UNK_93C                                              equ 2364
FLAG_UNK_93D                                              equ 2365
FLAG_UNK_93E                                              equ 2366
FLAG_UNK_93F                                              equ 2367
FLAG_UNK_940                                              equ 2368
FLAG_UNK_941                                              equ 2369
FLAG_UNK_942                                              equ 2370
FLAG_UNK_943                                              equ 2371
FLAG_UNK_944                                              equ 2372
FLAG_UNK_945                                              equ 2373
FLAG_UNK_946                                              equ 2374
FLAG_UNK_947                                              equ 2375
FLAG_UNK_948                                              equ 2376
FLAG_UNK_949                                              equ 2377
FLAG_UNK_94A                                              equ 2378
FLAG_UNK_94B                                              equ 2379
FLAG_UNK_94C                                              equ 2380
FLAG_UNK_94D                                              equ 2381
FLAG_UNK_94E                                              equ 2382
FLAG_UNK_94F                                              equ 2383
FLAG_UNK_950                                              equ 2384
FLAG_UNK_951                                              equ 2385
FLAG_UNK_952                                              equ 2386
FLAG_UNK_953                                              equ 2387
FLAG_UNK_954                                              equ 2388
FLAG_UNK_955                                              equ 2389
FLAG_UNK_956                                              equ 2390
FLAG_UNK_957                                              equ 2391
FLAG_UNK_958                                              equ 2392
FLAG_UNK_959                                              equ 2393
FLAG_UNK_95A                                              equ 2394
FLAG_UNK_95B                                              equ 2395
FLAG_UNK_95C                                              equ 2396
FLAG_UNK_95D                                              equ 2397
FLAG_UNK_95E                                              equ 2398
FLAG_UNK_95F                                              equ 2399


// System flags

FLAG_UNK_960                                              equ 2400
FLAG_HAVE_FOLLOWER                                        equ 2401
FLAG_STRENGTH_ACTIVE                                      equ 2402
FLAG_UNK_963                                              equ 2403
FLAG_GAME_CLEAR                                           equ 2404
FLAG_UNK_965                                              equ 2405
FLAG_UNK_966                                              equ 2406
FLAG_SYS_SAFARI                                           equ 2407
FLAG_UNK_968                                              equ 2408
FLAG_SYS_ROCKET_COSTUME                                   equ 2409
FLAG_UNK_96A                                              equ 2410
FLAG_UNK_96B                                              equ 2411
FLAG_UNK_96C                                              equ 2412
FLAG_UNK_96D                                              equ 2413
FLAG_UNK_96E                                              equ 2414
FLAG_UNK_96F                                              equ 2415
FLAG_UNK_970                                              equ 2416
FLAG_SYS_PAL_PARK                                         equ 2417
FLAG_UNK_972                                              equ 2418
FLAG_SYS_FLASH                                            equ 2419
FLAG_SYS_DEFOG                                            equ 2420
FLAG_UNK_975                                              equ 2421
FLAG_SYS_MET_BILL                                         equ 2422
FLAG_SYS_ALPH_PUZZLE_KABUTO                               equ 2423
FLAG_SYS_ALPH_PUZZLE_AERODACTYL                           equ 2424
FLAG_SYS_ALPH_PUZZLE_OMANYTE                              equ 2425
FLAG_SYS_ALPH_PUZZLE_HO_OH                                equ 2426
FLAG_UNK_97B                                              equ 2427
FLAG_UNK_97C                                              equ 2428
FLAG_UNK_97D                                              equ 2429
FLAG_UNK_97E                                              equ 2430
FLAG_UNK_97F                                              equ 2431
FLAG_UNK_980                                              equ 2432
FLAG_SYS_CIANWOOD_WATERFALL_DISABLE                       equ 2433
FLAG_UNK_982                                              equ 2434
FLAG_UNK_983                                              equ 2435
FLAG_UNK_984                                              equ 2436
FLAG_UNK_985                                              equ 2437
FLAG_SYS_MOMS_SAVINGS                                     equ 2438
FLAG_OAK_ACKNOWLEDGED_JOHTO_DEX_COMPLETION                equ 2439
FLAG_UNK_988                                              equ 2440
FLAG_UNK_989                                              equ 2441
FLAG_UNK_98A                                              equ 2442
FLAG_UNK_98B                                              equ 2443
FLAG_UNK_98C                                              equ 2444
FLAG_UNK_98D                                              equ 2445
FLAG_UNK_98E                                              equ 2446
FLAG_UNK_98F                                              equ 2447
FLAG_UNK_990                                              equ 2448
FLAG_UNK_991                                              equ 2449
FLAG_UNK_992                                              equ 2450
FLAG_BUG_CONTEST_ACTIVE                                   equ 2451
FLAG_UNK_994                                              equ 2452
FLAG_UNK_995                                              equ 2453
FLAG_UNK_996                                              equ 2454
FLAG_UNK_997                                              equ 2455
FLAG_UNK_998                                              equ 2456
FLAG_UNK_999                                              equ 2457
FLAG_UNK_99A                                              equ 2458
FLAG_ROCKET_TAKEOVER_ACTIVE                               equ 2459
FLAG_UNK_99C                                              equ 2460
FLAG_UNK_99D                                              equ 2461
FLAG_UNK_99E                                              equ 2462
FLAG_UNK_99F                                              equ 2463
FLAG_UNK_9A0                                              equ 2464
FLAG_UNK_9A1                                              equ 2465
FLAG_UNK_9A2                                              equ 2466
FLAG_UNK_9A3                                              equ 2467
FLAG_UNK_9A4                                              equ 2468
FLAG_UNK_9A5                                              equ 2469
FLAG_SYS_SOLVED_LT_SURGE_GYM                              equ 2470
FLAG_UNK_9A7                                              equ 2471
FLAG_UNK_9A8                                              equ 2472
FLAG_UNK_9A9                                              equ 2473
FLAG_UNK_9AA                                              equ 2474
FLAG_UNK_9AB                                              equ 2475
FLAG_UNK_9AC                                              equ 2476
FLAG_UNK_9AD                                              equ 2477
FLAG_UNK_9AE                                              equ 2478
FLAG_UNK_9AF                                              equ 2479
FLAG_SYS_FLYPOINT_PALLET                                  equ 2480
FLAG_SYS_FLYPOINT_VIRIDIAN                                equ 2481
FLAG_SYS_FLYPOINT_PEWTER                                  equ 2482
FLAG_SYS_FLYPOINT_CERULEAN                                equ 2483
FLAG_SYS_FLYPOINT_LAVENDER                                equ 2484
FLAG_SYS_FLYPOINT_VERMILION                               equ 2485
FLAG_SYS_FLYPOINT_CELADON                                 equ 2486
FLAG_SYS_FLYPOINT_FUCHSIA                                 equ 2487
FLAG_SYS_FLYPOINT_CINNABAR                                equ 2488
FLAG_SYS_FLYPOINT_INDIGO                                  equ 2489
FLAG_SYS_FLYPOINT_SAFFRON                                 equ 2490
FLAG_SYS_FLYPOINT_NEW_BARK                                equ 2491
FLAG_SYS_FLYPOINT_CHERRYGROVE                             equ 2492
FLAG_SYS_FLYPOINT_VIOLET                                  equ 2493
FLAG_SYS_FLYPOINT_AZALEA                                  equ 2494
FLAG_SYS_FLYPOINT_GOLDENROD                               equ 2495
FLAG_SYS_FLYPOINT_ECRUTEAK                                equ 2496
FLAG_SYS_FLYPOINT_OLIVINE                                 equ 2497
FLAG_SYS_FLYPOINT_CIANWOOD                                equ 2498
FLAG_SYS_FLYPOINT_MAHOGANY                                equ 2499
FLAG_SYS_FLYPOINT_LAKE_OF_RAGE                            equ 2500
FLAG_SYS_FLYPOINT_BLACKTHORN                              equ 2501
FLAG_SYS_FLYPOINT_MT_SILVER                               equ 2502
FLAG_UNK_9C7                                              equ 2503
FLAG_UNK_9C8                                              equ 2504
FLAG_UNK_9C9                                              equ 2505
FLAG_UNK_9CA                                              equ 2506
FLAG_SYS_FLYPOINT_UNION_CAVE                              equ 2507
FLAG_UNK_9CC                                              equ 2508
FLAG_UNK_9CD                                              equ 2509
FLAG_SYS_FLYPOINT_SAFARI                                  equ 2510
FLAG_SYS_FLYPOINT_FRONTIER                                equ 2511
FLAG_UNK_9D0                                              equ 2512
FLAG_SYS_FLYPOINT_VICTORY_ROAD                            equ 2513
FLAG_UNK_9D2                                              equ 2514
FLAG_SYS_FLYPOINT_POKEATHLON                              equ 2515
FLAG_SYS_FLYPOINT_MT_MOON                                 equ 2516
FLAG_SYS_FLYPOINT_ROCK_TUNNEL                             equ 2517
FLAG_UNK_9D6                                              equ 2518
FLAG_UNK_9D7                                              equ 2519
FLAG_UNK_9D8                                              equ 2520
FLAG_UNK_9D9                                              equ 2521
FLAG_UNK_9DA                                              equ 2522
FLAG_UNK_9DB                                              equ 2523
FLAG_UNK_9DC                                              equ 2524
FLAG_UNK_9DD                                              equ 2525
FLAG_UNK_9DE                                              equ 2526
FLAG_UNK_9DF                                              equ 2527
FLAG_UNK_9E0                                              equ 2528
FLAG_UNK_9E1                                              equ 2529
FLAG_UNK_9E2                                              equ 2530
FLAG_UNK_9E3                                              equ 2531
FLAG_UNK_9E4                                              equ 2532
FLAG_UNK_9E5                                              equ 2533
FLAG_UNK_9E6                                              equ 2534
FLAG_UNK_9E7                                              equ 2535
FLAG_UNK_9E8                                              equ 2536
FLAG_UNK_9E9                                              equ 2537
FLAG_UNK_9EA                                              equ 2538
FLAG_UNK_9EB                                              equ 2539
FLAG_UNK_9EC                                              equ 2540
FLAG_UNK_9ED                                              equ 2541
FLAG_UNK_9EE                                              equ 2542
FLAG_UNK_9EF                                              equ 2543
FLAG_UNK_9F0                                              equ 2544
FLAG_UNK_9F1                                              equ 2545
FLAG_UNK_9F2                                              equ 2546
FLAG_UNK_9F3                                              equ 2547
FLAG_UNK_9F4                                              equ 2548
FLAG_UNK_9F5                                              equ 2549
FLAG_UNK_9F6                                              equ 2550
FLAG_UNK_9F7                                              equ 2551
FLAG_UNK_9F8                                              equ 2552
FLAG_UNK_9F9                                              equ 2553
FLAG_UNK_9FA                                              equ 2554
FLAG_UNK_9FB                                              equ 2555
FLAG_UNK_9FC                                              equ 2556
FLAG_UNK_9FD                                              equ 2557
FLAG_UNK_9FE                                              equ 2558
FLAG_UNK_9FF                                              equ 2559
FLAG_UNK_A00                                              equ 2560
FLAG_UNK_A01                                              equ 2561
FLAG_UNK_A02                                              equ 2562
FLAG_UNK_A03                                              equ 2563
FLAG_UNK_A04                                              equ 2564
FLAG_UNK_A05                                              equ 2565
FLAG_UNK_A06                                              equ 2566
FLAG_UNK_A07                                              equ 2567
FLAG_UNK_A08                                              equ 2568
FLAG_UNK_A09                                              equ 2569
FLAG_UNK_A0A                                              equ 2570
FLAG_UNK_A0B                                              equ 2571
FLAG_UNK_A0C                                              equ 2572
FLAG_UNK_A0D                                              equ 2573
FLAG_UNK_A0E                                              equ 2574
FLAG_UNK_A0F                                              equ 2575
FLAG_UNK_A10                                              equ 2576
FLAG_UNK_A11                                              equ 2577
FLAG_UNK_A12                                              equ 2578
FLAG_UNK_A13                                              equ 2579
FLAG_UNK_A14                                              equ 2580
FLAG_UNK_A15                                              equ 2581
FLAG_UNK_A16                                              equ 2582
FLAG_UNK_A17                                              equ 2583
FLAG_UNK_A18                                              equ 2584
FLAG_UNK_A19                                              equ 2585
FLAG_UNK_A1A                                              equ 2586
FLAG_UNK_A1B                                              equ 2587
FLAG_UNK_A1C                                              equ 2588
FLAG_UNK_A1D                                              equ 2589
FLAG_UNK_A1E                                              equ 2590
FLAG_UNK_A1F                                              equ 2591
FLAG_UNK_A20                                              equ 2592
FLAG_UNK_A21                                              equ 2593
FLAG_UNK_A22                                              equ 2594
FLAG_UNK_A23                                              equ 2595
FLAG_UNK_A24                                              equ 2596
FLAG_UNK_A25                                              equ 2597
FLAG_UNK_A26                                              equ 2598
FLAG_UNK_A27                                              equ 2599
FLAG_UNK_A28                                              equ 2600
FLAG_UNK_A29                                              equ 2601
FLAG_UNK_A2A                                              equ 2602
FLAG_UNK_A2B                                              equ 2603
FLAG_UNK_A2C                                              equ 2604
FLAG_UNK_A2D                                              equ 2605
FLAG_UNK_A2E                                              equ 2606
FLAG_UNK_A2F                                              equ 2607
FLAG_UNK_A30                                              equ 2608
FLAG_UNK_A31                                              equ 2609
FLAG_UNK_A32                                              equ 2610
FLAG_UNK_A33                                              equ 2611
FLAG_UNK_A34                                              equ 2612
FLAG_UNK_A35                                              equ 2613
FLAG_UNK_A36                                              equ 2614
FLAG_UNK_A37                                              equ 2615
FLAG_UNK_A38                                              equ 2616
FLAG_UNK_A39                                              equ 2617
FLAG_UNK_A3A                                              equ 2618
FLAG_UNK_A3B                                              equ 2619
FLAG_UNK_A3C                                              equ 2620
FLAG_UNK_A3D                                              equ 2621
FLAG_UNK_A3E                                              equ 2622
FLAG_UNK_A3F                                              equ 2623
FLAG_UNK_A40                                              equ 2624
FLAG_UNK_A41                                              equ 2625
FLAG_UNK_A42                                              equ 2626
FLAG_UNK_A43                                              equ 2627
FLAG_UNK_A44                                              equ 2628
FLAG_UNK_A45                                              equ 2629
FLAG_UNK_A46                                              equ 2630
FLAG_UNK_A47                                              equ 2631
FLAG_UNK_A48                                              equ 2632
FLAG_UNK_A49                                              equ 2633
FLAG_UNK_A4A                                              equ 2634
FLAG_UNK_A4B                                              equ 2635
FLAG_UNK_A4C                                              equ 2636
FLAG_UNK_A4D                                              equ 2637
FLAG_UNK_A4E                                              equ 2638
FLAG_UNK_A4F                                              equ 2639
FLAG_UNK_A50                                              equ 2640
FLAG_UNK_A51                                              equ 2641
FLAG_UNK_A52                                              equ 2642
FLAG_UNK_A53                                              equ 2643
FLAG_UNK_A54                                              equ 2644
FLAG_UNK_A55                                              equ 2645
FLAG_UNK_A56                                              equ 2646
FLAG_UNK_A57                                              equ 2647
FLAG_UNK_A58                                              equ 2648
FLAG_UNK_A59                                              equ 2649
FLAG_UNK_A5A                                              equ 2650
FLAG_UNK_A5B                                              equ 2651
FLAG_UNK_A5C                                              equ 2652
FLAG_UNK_A5D                                              equ 2653
FLAG_UNK_A5E                                              equ 2654
FLAG_UNK_A5F                                              equ 2655
FLAG_UNK_A60                                              equ 2656
FLAG_UNK_A61                                              equ 2657
FLAG_UNK_A62                                              equ 2658
FLAG_UNK_A63                                              equ 2659
FLAG_UNK_A64                                              equ 2660
FLAG_UNK_A65                                              equ 2661
FLAG_UNK_A66                                              equ 2662
FLAG_UNK_A67                                              equ 2663
FLAG_UNK_A68                                              equ 2664
FLAG_UNK_A69                                              equ 2665
FLAG_UNK_A6A                                              equ 2666
FLAG_UNK_A6B                                              equ 2667
FLAG_UNK_A6C                                              equ 2668
FLAG_UNK_A6D                                              equ 2669
FLAG_UNK_A6E                                              equ 2670
FLAG_UNK_A6F                                              equ 2671
FLAG_UNK_A70                                              equ 2672
FLAG_UNK_A71                                              equ 2673
FLAG_UNK_A72                                              equ 2674
FLAG_UNK_A73                                              equ 2675
FLAG_UNK_A74                                              equ 2676
FLAG_UNK_A75                                              equ 2677
FLAG_UNK_A76                                              equ 2678
FLAG_UNK_A77                                              equ 2679
FLAG_UNK_A78                                              equ 2680
FLAG_UNK_A79                                              equ 2681
FLAG_UNK_A7A                                              equ 2682
FLAG_UNK_A7B                                              equ 2683
FLAG_UNK_A7C                                              equ 2684
FLAG_UNK_A7D                                              equ 2685
FLAG_UNK_A7E                                              equ 2686
FLAG_UNK_A7F                                              equ 2687
FLAG_UNK_A80                                              equ 2688
FLAG_UNK_A81                                              equ 2689
FLAG_UNK_A82                                              equ 2690
FLAG_UNK_A83                                              equ 2691
FLAG_UNK_A84                                              equ 2692
FLAG_UNK_A85                                              equ 2693
FLAG_UNK_A86                                              equ 2694
FLAG_UNK_A87                                              equ 2695
FLAG_UNK_A88                                              equ 2696
FLAG_UNK_A89                                              equ 2697
FLAG_UNK_A8A                                              equ 2698
FLAG_UNK_A8B                                              equ 2699
FLAG_UNK_A8C                                              equ 2700
FLAG_UNK_A8D                                              equ 2701
FLAG_UNK_A8E                                              equ 2702
FLAG_UNK_A8F                                              equ 2703
FLAG_UNK_A90                                              equ 2704
FLAG_UNK_A91                                              equ 2705
FLAG_UNK_A92                                              equ 2706
FLAG_UNK_A93                                              equ 2707
FLAG_UNK_A94                                              equ 2708
FLAG_UNK_A95                                              equ 2709
FLAG_UNK_A96                                              equ 2710
FLAG_UNK_A97                                              equ 2711
FLAG_UNK_A98                                              equ 2712
FLAG_UNK_A99                                              equ 2713
FLAG_UNK_A9A                                              equ 2714
FLAG_UNK_A9B                                              equ 2715
FLAG_UNK_A9C                                              equ 2716
FLAG_UNK_A9D                                              equ 2717
FLAG_UNK_A9E                                              equ 2718
FLAG_UNK_A9F                                              equ 2719


DAILY_FLAG_BASE                                           equ 2720
NUM_DAILY_FLAGS                                           equ   192


FLAG_DAILY_GOT_HAIRCUT                                    equ 2720
FLAG_UNK_AA1                                              equ 2721
FLAG_UNK_AA2                                              equ 2722
FLAG_DAILY_BUENAS_PASSWORD                                equ 2723
FLAG_UNK_AA4                                              equ 2724
FLAG_UNK_AA5                                              equ 2725
FLAG_UNK_AA6                                              equ 2726
FLAG_DAILY_DID_BUG_CONTEST                                equ 2727
FLAG_UNK_AA8                                              equ 2728
FLAG_UNK_AA9                                              equ 2729
FLAG_DAILY_TRAINER_HOUSE_0                                equ 2730
FLAG_DAILY_TRAINER_HOUSE_1                                equ 2731
FLAG_DAILY_TRAINER_HOUSE_2                                equ 2732
FLAG_DAILY_TRAINER_HOUSE_3                                equ 2733
FLAG_DAILY_TRAINER_HOUSE_4                                equ 2734
FLAG_DAILY_TRAINER_HOUSE_5                                equ 2735
FLAG_DAILY_TRAINER_HOUSE_6                                equ 2736
FLAG_DAILY_TRAINER_HOUSE_7                                equ 2737
FLAG_DAILY_TRAINER_HOUSE_8                                equ 2738
FLAG_DAILY_TRAINER_HOUSE_9                                equ 2739
FLAG_DAILY_TRAINER_HOUSE_10                               equ 2740
FLAG_UNK_AB5                                              equ 2741
FLAG_DAILY_HEARD_BUENAS_PASSWORD                          equ 2742
FLAG_UNK_AB7                                              equ 2743
FLAG_DAILY_CAUGHT_LAPRAS                                  equ 2744
FLAG_UNK_AB9                                              equ 2745
FLAG_UNK_ABA                                              equ 2746
FLAG_UNK_ABB                                              equ 2747
FLAG_DAILY_GOT_SHOCK_RIBBON                               equ 2748
FLAG_DAILY_GOT_LOAN_SHUCKLE_TODAY                         equ 2749
FLAG_UNK_ABE                                              equ 2750
FLAG_UNK_ABF                                              equ 2751
FLAG_UNK_AC0                                              equ 2752
FLAG_UNK_AC1                                              equ 2753
FLAG_UNK_AC2                                              equ 2754
FLAG_UNK_AC3                                              equ 2755
FLAG_UNK_AC4                                              equ 2756
FLAG_UNK_AC5                                              equ 2757
FLAG_UNK_AC6                                              equ 2758
FLAG_UNK_AC7                                              equ 2759
FLAG_UNK_AC8                                              equ 2760
FLAG_UNK_AC9                                              equ 2761
FLAG_UNK_ACA                                              equ 2762
FLAG_UNK_ACB                                              equ 2763
FLAG_UNK_ACC                                              equ 2764
FLAG_UNK_ACD                                              equ 2765
FLAG_UNK_ACE                                              equ 2766
FLAG_UNK_ACF                                              equ 2767
FLAG_UNK_AD0                                              equ 2768
FLAG_UNK_AD1                                              equ 2769
FLAG_UNK_AD2                                              equ 2770
FLAG_UNK_AD3                                              equ 2771
FLAG_UNK_AD4                                              equ 2772
FLAG_UNK_AD5                                              equ 2773
FLAG_UNK_AD6                                              equ 2774
FLAG_UNK_AD7                                              equ 2775
FLAG_UNK_AD8                                              equ 2776
FLAG_UNK_AD9                                              equ 2777
FLAG_UNK_ADA                                              equ 2778
FLAG_UNK_ADB                                              equ 2779
FLAG_UNK_ADC                                              equ 2780
FLAG_UNK_ADD                                              equ 2781
FLAG_UNK_ADE                                              equ 2782
FLAG_UNK_ADF                                              equ 2783
FLAG_UNK_AE0                                              equ 2784
FLAG_UNK_AE1                                              equ 2785
FLAG_UNK_AE2                                              equ 2786
FLAG_UNK_AE3                                              equ 2787
FLAG_UNK_AE4                                              equ 2788
FLAG_UNK_AE5                                              equ 2789
FLAG_UNK_AE6                                              equ 2790
FLAG_UNK_AE7                                              equ 2791
FLAG_UNK_AE8                                              equ 2792
FLAG_UNK_AE9                                              equ 2793
FLAG_UNK_AEA                                              equ 2794
FLAG_UNK_AEB                                              equ 2795
FLAG_UNK_AEC                                              equ 2796
FLAG_UNK_AED                                              equ 2797
FLAG_UNK_AEE                                              equ 2798
FLAG_UNK_AEF                                              equ 2799
FLAG_UNK_AF0                                              equ 2800
FLAG_UNK_AF1                                              equ 2801
FLAG_UNK_AF2                                              equ 2802
FLAG_UNK_AF3                                              equ 2803
FLAG_UNK_AF4                                              equ 2804
FLAG_UNK_AF5                                              equ 2805
FLAG_UNK_AF6                                              equ 2806
FLAG_UNK_AF7                                              equ 2807
FLAG_UNK_AF8                                              equ 2808
FLAG_UNK_AF9                                              equ 2809
FLAG_UNK_AFA                                              equ 2810
FLAG_UNK_AFB                                              equ 2811
FLAG_UNK_AFC                                              equ 2812
FLAG_UNK_AFD                                              equ 2813
FLAG_UNK_AFE                                              equ 2814
FLAG_UNK_AFF                                              equ 2815
FLAG_UNK_B00                                              equ 2816
FLAG_UNK_B01                                              equ 2817
FLAG_UNK_B02                                              equ 2818
FLAG_UNK_B03                                              equ 2819
FLAG_UNK_B04                                              equ 2820
FLAG_UNK_B05                                              equ 2821
FLAG_UNK_B06                                              equ 2822
FLAG_UNK_B07                                              equ 2823
FLAG_UNK_B08                                              equ 2824
FLAG_UNK_B09                                              equ 2825
FLAG_UNK_B0A                                              equ 2826
FLAG_UNK_B0B                                              equ 2827
FLAG_UNK_B0C                                              equ 2828
FLAG_UNK_B0D                                              equ 2829
FLAG_UNK_B0E                                              equ 2830
FLAG_UNK_B0F                                              equ 2831
FLAG_UNK_B10                                              equ 2832
FLAG_UNK_B11                                              equ 2833
FLAG_UNK_B12                                              equ 2834
FLAG_UNK_B13                                              equ 2835
FLAG_UNK_B14                                              equ 2836
FLAG_UNK_B15                                              equ 2837
FLAG_UNK_B16                                              equ 2838
FLAG_UNK_B17                                              equ 2839
FLAG_UNK_B18                                              equ 2840
FLAG_UNK_B19                                              equ 2841
FLAG_UNK_B1A                                              equ 2842
FLAG_UNK_B1B                                              equ 2843
FLAG_UNK_B1C                                              equ 2844
FLAG_UNK_B1D                                              equ 2845
FLAG_UNK_B1E                                              equ 2846
FLAG_UNK_B1F                                              equ 2847
FLAG_UNK_B20                                              equ 2848
FLAG_UNK_B21                                              equ 2849
FLAG_UNK_B22                                              equ 2850
FLAG_UNK_B23                                              equ 2851
FLAG_UNK_B24                                              equ 2852
FLAG_UNK_B25                                              equ 2853
FLAG_UNK_B26                                              equ 2854
FLAG_UNK_B27                                              equ 2855
FLAG_UNK_B28                                              equ 2856
FLAG_UNK_B29                                              equ 2857
FLAG_UNK_B2A                                              equ 2858
FLAG_UNK_B2B                                              equ 2859
FLAG_UNK_B2C                                              equ 2860
FLAG_UNK_B2D                                              equ 2861
FLAG_UNK_B2E                                              equ 2862
FLAG_UNK_B2F                                              equ 2863
FLAG_UNK_B30                                              equ 2864
FLAG_UNK_B31                                              equ 2865
FLAG_UNK_B32                                              equ 2866
FLAG_UNK_B33                                              equ 2867
FLAG_UNK_B34                                              equ 2868
FLAG_UNK_B35                                              equ 2869
FLAG_UNK_B36                                              equ 2870
FLAG_UNK_B37                                              equ 2871
FLAG_UNK_B38                                              equ 2872
FLAG_UNK_B39                                              equ 2873
FLAG_UNK_B3A                                              equ 2874
FLAG_UNK_B3B                                              equ 2875
FLAG_UNK_B3C                                              equ 2876
FLAG_UNK_B3D                                              equ 2877
FLAG_UNK_B3E                                              equ 2878
FLAG_UNK_B3F                                              equ 2879
FLAG_UNK_B40                                              equ 2880
FLAG_UNK_B41                                              equ 2881
FLAG_UNK_B42                                              equ 2882
FLAG_UNK_B43                                              equ 2883
FLAG_UNK_B44                                              equ 2884
FLAG_UNK_B45                                              equ 2885
FLAG_UNK_B46                                              equ 2886
FLAG_UNK_B47                                              equ 2887
FLAG_UNK_B48                                              equ 2888
FLAG_UNK_B49                                              equ 2889
FLAG_UNK_B4A                                              equ 2890
FLAG_UNK_B4B                                              equ 2891
FLAG_UNK_B4C                                              equ 2892
FLAG_UNK_B4D                                              equ 2893
FLAG_UNK_B4E                                              equ 2894
FLAG_UNK_B4F                                              equ 2895
FLAG_UNK_B50                                              equ 2896
FLAG_UNK_B51                                              equ 2897
FLAG_UNK_B52                                              equ 2898
FLAG_UNK_B53                                              equ 2899
FLAG_UNK_B54                                              equ 2900
FLAG_UNK_B55                                              equ 2901
FLAG_UNK_B56                                              equ 2902
FLAG_UNK_B57                                              equ 2903
FLAG_UNK_B58                                              equ 2904
FLAG_UNK_B59                                              equ 2905
FLAG_UNK_B5A                                              equ 2906
FLAG_UNK_B5B                                              equ 2907
FLAG_UNK_B5C                                              equ 2908
FLAG_UNK_B5D                                              equ 2909
FLAG_UNK_B5E                                              equ 2910
FLAG_UNK_B5F                                              equ 2911


NUM_FLAGS                                                 equ  2912


NUM_TEMP_FLAGS                                           equ     64
TEMP_FLAG_BASE                                           equ 0x4000


FLAG_TEMP_x4000                                          equ 0x4000
FLAG_TEMP_x4001                                          equ 0x4001
FLAG_TEMP_x4002                                          equ 0x4002
FLAG_TEMP_x4003                                          equ 0x4003
FLAG_TEMP_x4004                                          equ 0x4004
FLAG_TEMP_x4005                                          equ 0x4005
FLAG_TEMP_x4006                                          equ 0x4006
FLAG_TEMP_x4007                                          equ 0x4007
FLAG_TEMP_x4008                                          equ 0x4008
FLAG_TEMP_x4009                                          equ 0x4009
FLAG_TEMP_x400A                                          equ 0x400A
FLAG_TEMP_x400B                                          equ 0x400B
FLAG_TEMP_x400C                                          equ 0x400C
FLAG_TEMP_x400D                                          equ 0x400D
FLAG_TEMP_x400E                                          equ 0x400E
FLAG_TEMP_x400F                                          equ 0x400F
FLAG_TEMP_x4010                                          equ 0x4010
FLAG_TEMP_x4011                                          equ 0x4011
FLAG_TEMP_x4012                                          equ 0x4012
FLAG_TEMP_x4013                                          equ 0x4013
FLAG_TEMP_x4014                                          equ 0x4014
FLAG_TEMP_x4015                                          equ 0x4015
FLAG_TEMP_x4016                                          equ 0x4016
FLAG_TEMP_x4017                                          equ 0x4017
FLAG_TEMP_x4018                                          equ 0x4018
FLAG_TEMP_x4019                                          equ 0x4019
FLAG_TEMP_x401A                                          equ 0x401A
FLAG_TEMP_x401B                                          equ 0x401B
FLAG_TEMP_x401C                                          equ 0x401C
FLAG_TEMP_x401D                                          equ 0x401D
FLAG_TEMP_x401E                                          equ 0x401E
FLAG_TEMP_x401F                                          equ 0x401F
FLAG_TEMP_x4020                                          equ 0x4020
FLAG_TEMP_x4021                                          equ 0x4021
FLAG_TEMP_x4022                                          equ 0x4022
FLAG_TEMP_x4023                                          equ 0x4023
FLAG_TEMP_x4024                                          equ 0x4024
FLAG_TEMP_x4025                                          equ 0x4025
FLAG_TEMP_x4026                                          equ 0x4026
FLAG_TEMP_x4027                                          equ 0x4027
FLAG_TEMP_x4028                                          equ 0x4028
FLAG_TEMP_x4029                                          equ 0x4029
FLAG_TEMP_x402A                                          equ 0x402A
FLAG_TEMP_x402B                                          equ 0x402B
FLAG_TEMP_x402C                                          equ 0x402C
FLAG_TEMP_x402D                                          equ 0x402D
FLAG_TEMP_x402E                                          equ 0x402E
FLAG_TEMP_x402F                                          equ 0x402F
FLAG_TEMP_x4030                                          equ 0x4030
FLAG_TEMP_x4031                                          equ 0x4031
FLAG_TEMP_x4032                                          equ 0x4032
FLAG_TEMP_x4033                                          equ 0x4033
FLAG_TEMP_x4034                                          equ 0x4034
FLAG_TEMP_x4035                                          equ 0x4035
FLAG_TEMP_x4036                                          equ 0x4036
FLAG_TEMP_x4037                                          equ 0x4037
FLAG_TEMP_x4038                                          equ 0x4038
FLAG_TEMP_x4039                                          equ 0x4039
FLAG_TEMP_x403A                                          equ 0x403A
FLAG_TEMP_x403B                                          equ 0x403B
FLAG_TEMP_x403C                                          equ 0x403C
FLAG_TEMP_x403D                                          equ 0x403D
FLAG_TEMP_x403E                                          equ 0x403E
FLAG_TEMP_x403F                                          equ 0x403F
